From e4024e470626ff2ee41a15378ed0584127e82eb1 Mon Sep 17 00:00:00 2001 From: yuyx <237899745@qq.com> Date: Wed, 10 Dec 2025 20:59:03 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E6=88=AA?= =?UTF-8?q?=E5=9B=BE=E5=B9=B6=E5=8F=91=E6=95=B0=E5=88=9D=E5=A7=8B=E5=8C=96?= =?UTF-8?q?=E9=81=97=E6=BC=8F=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 初始化system_config时添加max_screenshot_concurrent字段 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- database.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database.py b/database.py index 4ec9e34..fef9e4a 100755 --- a/database.py +++ b/database.py @@ -234,9 +234,9 @@ def init_database(): try: cursor.execute(''' INSERT INTO system_config ( - id, max_concurrent_global, schedule_enabled, - schedule_time, schedule_browse_type, schedule_weekdays - ) VALUES (1, 2, 0, '02:00', '应读', '1,2,3,4,5,6,7') + id, max_concurrent_global, max_concurrent_per_account, max_screenshot_concurrent, + schedule_enabled, schedule_time, schedule_browse_type, schedule_weekdays + ) VALUES (1, 2, 1, 3, 0, '02:00', '应读', '1,2,3,4,5,6,7') ''') conn.commit() print("✓ 已创建系统配置(默认并发2,定时任务关闭)")