speeed up
This commit is contained in:
+1
-1
@@ -694,7 +694,7 @@ def generate_simulation_credit():
|
||||
pass
|
||||
|
||||
def refresh_accounts():
|
||||
SQL_ACC_f ="SELECT accountid,counters FROM customer_account_list WHERE counters > 10 AND created IS NULL LIMIT 1000"
|
||||
SQL_ACC_f ="SELECT accountid,counters FROM customer_account_list WHERE counters > 10 AND created IS NULL LIMIT 5000"
|
||||
print(SQL_ACC_f)
|
||||
with connection:
|
||||
with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor:
|
||||
|
||||
Reference in New Issue
Block a user