fix(handler): adjust SSE heartbeat interval and cache control header
All checks were successful
Build Backend / build (push) Successful in 14m55s
Build Backend / build-docker (push) Successful in 1m0s

- Updated Cache-Control header to include 'no-transform'.
- Reduced heartbeat interval from 25 seconds to 10 seconds to accommodate common proxy idle timeouts.
- Added comments for clarity on keepalive handling for SSE intermediaries and proxies.
This commit is contained in:
lafay
2026-03-24 04:23:23 +08:00
parent ab4ee30690
commit b41567a39a
2 changed files with 9 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
package service
package service
import (
"context"