mirror of
https://github.com/bitbaum/loki.git
synced 2026-12-04 16:07:35 +01:00
Command pickup latency: 5s → ~100ms. The API now holds requests for up to 25s (local) / 8s (remote Vercel) until a command arrives, eliminating the sleep-then-poll cycle. The push loop skips the POST when state is unchanged (md5 hash comparison), cutting idle DB writes from ~30/min to near zero. After each command execution, a background push fires immediately so the UI reflects results without waiting for the next push cycle. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>