From 1db2bb0418f960355a1fa64dec9ea78869f8e6c3 Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Sun, 1 Jun 2025 18:30:24 +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(?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=AD=98)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index af94db0..f752b0b 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(20) + tasks, flag = db.item_keyword(1) if not tasks: time.sleep(10) continue @@ -194,6 +194,7 @@ def integrate_data_parallel(): "level": kitem["level"], }) DBSA.flush() + exit() if rollback[0]: db.rollback_l0(rollback[0]) if rollback[1]: