失败任务定时删除
This commit is contained in:
14
gasflux.ini
14
gasflux.ini
@ -1,9 +1,9 @@
|
||||
[server]
|
||||
# Server configuration
|
||||
host = 0.0.0.0
|
||||
port = 5000
|
||||
port = 5001
|
||||
debug = false
|
||||
base_url = http://localhost:5000
|
||||
base_url = http://localhost:5001
|
||||
|
||||
[paths]
|
||||
# Directory paths (relative to project root or absolute)
|
||||
@ -25,8 +25,14 @@ admin_bootstrap_key = bootstrap_key_2024
|
||||
|
||||
[cleanup]
|
||||
# Task cleanup settings
|
||||
task_cleanup_interval = 3600 # 1 hour in seconds
|
||||
max_task_age = 86400 # 24 hours in seconds
|
||||
# 30 seconds
|
||||
task_cleanup_interval = 30
|
||||
# 24 hours in seconds
|
||||
max_task_age = 86400
|
||||
# 1 minute in seconds for successful tasks
|
||||
successful_task_cleanup_age = 60
|
||||
# 1 minute in seconds for failed tasks
|
||||
failed_task_cleanup_age = 60
|
||||
janitor_dry_run = false
|
||||
|
||||
[performance]
|
||||
|
||||
Reference in New Issue
Block a user