Fix misleading keepalive comment in PHP server

The comment said keepalives were sent every 15 seconds, but the code
uses sleep(1), so they're actually sent every 1 second. This is correct
for SSE connections - frequent keepalives prevent proxy timeouts.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-12-26 13:12:09 -08:00
parent af1c1231b6
commit 54910a5df3

View File

@@ -128,7 +128,7 @@ function handleStream() {
$lastCount = $currentCount;
}
// Send keepalive comment every 15 seconds
// Send keepalive comment every 1 second (keeps SSE connection alive)
echo ": keepalive\n\n";
flush();