Skip to content

Commit

Permalink
Merge pull request #1760 from dedis/work-be1-1florentin-empty-heartbeats
Browse files Browse the repository at this point in the history
remove non-empty condition on hubInbox for heartbeats
  • Loading branch information
1florentin authored Feb 28, 2024
2 parents 905731a + c870951 commit d03d684
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions be1-go/hub/standard_hub/mod.go
Original file line number Diff line number Diff line change
Expand Up @@ -482,9 +482,6 @@ func (h *Hub) sendGetMessagesByIdToServer(socket socket.Socket, missingIds map[s

// sendHeartbeatToServers sends a heartbeat message to all servers
func (h *Hub) sendHeartbeatToServers() {
if h.hubInbox.IsEmpty() {
return
}
heartbeatMessage := method.Heartbeat{
Base: query.Base{
JSONRPCBase: jsonrpc.JSONRPCBase{
Expand Down

0 comments on commit d03d684

Please sign in to comment.