speeed up

This commit is contained in:
CHIEFSOFT\ameye
2025-03-31 17:05:34 -04:00
parent ae5c46a1df
commit 31eb834aee
+1 -1
View File
@@ -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: