Skip to content

Commit

Permalink
chore: restore keepaliveeeeeeeeeeeeeee
Browse files Browse the repository at this point in the history
  • Loading branch information
merklefruit committed Aug 6, 2024
1 parent 75f03a2 commit 1b2902c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mev-boost-relay/services/api/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -3047,7 +3047,8 @@ func (api *RelayAPI) handleSubscribeConstraints(w http.ResponseWriter, req *http
return
case <-ticker.C:
// Send a keepalive to the client
fmt.Fprint(w, ": keepalive\n\n")
// NOTE: the length of the message is intentional, do not make it shorter
fmt.Fprint(w, ": keepaliveeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee\n\n")
flusher.Flush()
case constraint := <-constraintsCh:
constraintJSON, err := json.Marshal([]*SignedConstraints{constraint})
Expand Down

0 comments on commit 1b2902c

Please sign in to comment.