From 77786f26b56b9f9b87c4a5a0b35dc92c433d6dea Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 29 Mar 2025 18:19:03 -0400 Subject: [PATCH] Move to limit to once acocunt set of 55,000 --- app/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app.py b/app/app.py index 3c6cec6..1711564 100644 --- a/app/app.py +++ b/app/app.py @@ -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)