Move to limit to once acocunt set of 55,000

This commit is contained in:
CHIEFSOFT\ameye
2025-03-29 18:19:03 -04:00
parent 58aa934420
commit 77786f26b5
+1 -1
View File
@@ -695,7 +695,7 @@ def generate_simulation_credit():
@app.route('/transaction/generator')
def generate_transactions():
SQL_ACC = "SELECT id, accountid,counters FROM customer_account_list WHERE counters < 11 ORDER by counters, id ASC LIMIT 600"
SQL_ACC = "SELECT id, accountid,counters FROM customer_account_list WHERE counters > 0 AND counters < 11 ORDER by counters, id ASC LIMIT 650"
with connection:
with connection.cursor(cursor_factory=psycopg2.extras.DictCursor) as cursor:
cursor.execute(SQL_ACC)