From fc026ea50e8f47a6196df19d5004ac8df1c52075 Mon Sep 17 00:00:00 2001 From: Franklin-F Date: Sat, 5 Jul 2025 09:48:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=9C=A8DB=E7=B1=BB=E4=B8=AD=E5=B0=86?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E9=95=BF=E5=BA=A6=E9=99=90=E5=88=B6=E4=B8=BA?= =?UTF-8?q?100=E4=B8=AA=E5=AD=97=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DB.py | 2 +- report.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DB.py b/DB.py index 081623b..26b947f 100644 --- a/DB.py +++ b/DB.py @@ -298,7 +298,7 @@ class DBVidcon: return result['parameter'] if result else None @redis_retry(max_retries=3) - def item_report(self, count: int = 20): + def item_report(self, count: int = 100): try: items = self.fetch_from_redis(count, list_key=self.report_list) except Exception as e: diff --git a/report.py b/report.py index f22d9e0..02fb30a 100644 --- a/report.py +++ b/report.py @@ -84,7 +84,7 @@ while True: last_main_run = now re_list = [] idss = [] - lis = db.item_report(20) + lis = db.item_report(100) if len(lis) > 0: for li in lis: item = json.loads(li[0])