From b7e8fa4977e86b2c5f974db2a63f28d08ceb9694 Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Sun, 1 Jun 2025 19:30:34 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0item=5Fkeyword?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E5=8F=82=E6=95=B0=E4=BB=A5=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E5=A4=84=E7=90=86=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index f752b0b..af94db0 100644 --- a/main.py +++ b/main.py @@ -149,7 +149,7 @@ def integrate_data_parallel(): while True: global proxiesdict proxiesdict = db.get_proxy_agent_dict() - tasks, flag = db.item_keyword(1) + tasks, flag = db.item_keyword(20) if not tasks: time.sleep(10) continue @@ -194,7 +194,6 @@ def integrate_data_parallel(): "level": kitem["level"], }) DBSA.flush() - exit() if rollback[0]: db.rollback_l0(rollback[0]) if rollback[1]: