We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5e2a35 commit bdc9c68Copy full SHA for bdc9c68
internal/api/handlers/update.go
@@ -141,7 +141,7 @@ func HandleUpdateEvents(updater *update.Manager) http.HandlerFunc {
141
}()
142
143
// Send an initial heartbeat to return a feedback to the client
144
- sseStream.Send(render.SSEEvent{Type: "heartbeat"})
+ sseStream.Send(render.SSEEvent{Type: update.UpgradeLineEvent.String(), Data: "connected to update events stream"})
145
146
ch := updater.Subscribe()
147
defer updater.Unsubscribe(ch)
0 commit comments