feat(config,workspace,user): jobs/notify config + workspace fetch repo + user ListAdmins

This commit is contained in:
2026-05-06 09:10:43 +08:00
parent 895799a6c9
commit 7b3892c42e
13 changed files with 338 additions and 6 deletions
+35
View File
@@ -72,3 +72,38 @@ storage:
driver: "localfs"
localfs:
base_path: "./data/uploads"
# 后台 job runner 配置
jobs:
enabled: true
workers: 2
shutdown_grace: 30s
workspace_fetch:
enabled: true
interval: 5m
worktree_prune:
enabled: true
interval: 24h
idle_threshold: 720h
warning_lead: 72h
attachment_cleanup:
enabled: true
interval: 24h
retention: 720h
job_reaper:
enabled: true
interval: 1m
lease_timeout: 5m
job_purge:
enabled: true
interval: 24h
completed_retention: 168h
# 通知通道配置
notify:
webhook:
enabled: false
url: ""
secret: ""
timeout: 10s
topics: []