chore: auto-commit (8 archivos)
- backend/handlers.go - data.cpp - data.h - main.cpp - panel_board.cpp - panel_filters.cpp - appicon.ico - backend/kanban_cpp_backend.exe Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -28,12 +28,19 @@ static void start_refresh_thread() {
|
||||
kanban::refresh_meta();
|
||||
kanban::refresh_issues();
|
||||
kanban::refresh_flows();
|
||||
kanban::refresh_agent_status();
|
||||
kanban::start_sse();
|
||||
int tick = 0;
|
||||
while (g_refresh_thread_alive) {
|
||||
std::this_thread::sleep_for(std::chrono::seconds(30));
|
||||
// Fast loop (every 3s) for agent status; full refresh every 30s.
|
||||
std::this_thread::sleep_for(std::chrono::seconds(3));
|
||||
if (!g_refresh_thread_alive) break;
|
||||
kanban::refresh_issues();
|
||||
kanban::refresh_flows();
|
||||
kanban::refresh_agent_status();
|
||||
if (++tick >= 10) {
|
||||
tick = 0;
|
||||
kanban::refresh_issues();
|
||||
kanban::refresh_flows();
|
||||
}
|
||||
}
|
||||
kanban::stop_sse();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user