From 1e5e4597fd37d9ee41c2f00fcf9377c3371c9107 Mon Sep 17 00:00:00 2001 From: pythonkoft Date: Sat, 8 Nov 2025 20:57:57 +0000 Subject: [PATCH] Update main.py s --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index a7f4696..7599c35 100644 --- a/main.py +++ b/main.py @@ -336,7 +336,7 @@ class EmailGroupManager: AND (is_finished IS NULL OR is_finished IS DISTINCT FROM TRUE) AND login_status IS DISTINCT FROM FALSE ORDER BY id - LIMIT 5 + LIMIT 2 FOR UPDATE SKIP LOCKED ) UPDATE ea_shadow_tactics @@ -373,7 +373,7 @@ class EmailGroupManager: AND (is_finished IS NULL OR is_finished IS DISTINCT FROM TRUE) AND login_status IS DISTINCT FROM FALSE ORDER BY id - LIMIT 5 + LIMIT 2 FOR UPDATE SKIP LOCKED ) UPDATE ea_shadow_tactics @@ -3391,7 +3391,7 @@ def check_and_update_email_usage(email: str) -> bool: # تعداد فعلی استفاده current_count = usage_data.get(email, 0) - if current_count >= 6: + if current_count >= 10: usage_data[email] = 0 # ریست بشه result = False else: