Improve conversation realtime refresh and heartbeat defaults

This commit is contained in:
kris
2026-04-07 14:17:30 +08:00
parent 233f61a649
commit f83ab50d6b
7 changed files with 82 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
{
"bindHost": "127.0.0.1",
"port": 4317,
"heartbeatIntervalMs": 60000,
"heartbeatIntervalMs": 15000,
"masterAgentPollIntervalMs": 3000,
"controlPlaneUrl": "https://boss.hyzq.net",
"skillsDir": "/Users/kris/.codex/skills",

View File

@@ -1,7 +1,7 @@
{
"bindHost": "127.0.0.1",
"port": 4317,
"heartbeatIntervalMs": 60000,
"heartbeatIntervalMs": 15000,
"masterAgentPollIntervalMs": 3000,
"controlPlaneUrl": "http://127.0.0.1:3000",
"skillsDir": "/Users/kris/.codex/skills",

View File

@@ -704,7 +704,7 @@ void (async () => {
setInterval(() => {
void heartbeat();
}, config.heartbeatIntervalMs ?? 60000);
}, config.heartbeatIntervalMs ?? 15000);
setInterval(() => {
void pollMasterAgentTasks(config, runtime);