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,定时任务关闭)")