auto-sync: 2026-05-17 00:31:07

This commit is contained in:
cfdaily
2026-05-17 00:31:07 +08:00
parent 39bddb92ee
commit 35cca6965a
2 changed files with 42 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
daemon:
tick_interval: 30
task_timeout: 600
max_global_agents: 5
max_per_agent: 1
zombie_threshold: 20
inbox:
path: "inbox/daemon.jsonl"
watch_interval: 1
max_size_bytes: 1048576
review:
default_max_rounds: 3
debate_max_rounds: 5
confidence_threshold: 0.7
experience:
distill_threshold: 5
expire_days: 30
logging:
level: INFO
max_file_size: 10MB
+18
View File
@@ -0,0 +1,18 @@
module.exports = {
apps: [{
name: 'sanguo-moziplus-v2',
script: require('path').resolve(__dirname, '.venv/bin/uvicorn'),
args: 'src.main:app --host 0.0.0.0 --port 8083',
cwd: __dirname,
interpreter: 'none',
autorestart: true,
max_restarts: 10,
restart_delay: 3000,
watch: false,
env: {
PYTHONPATH: __dirname,
},
out_file: './logs/daemon.out.log',
error_file: './logs/daemon.err.log',
}]
}