Skip to content

Commit

Permalink
better ping msg
Browse files Browse the repository at this point in the history
  • Loading branch information
Ridai Govinda Pombo committed Jun 2, 2020
1 parent 00fad7f commit 6c02808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/remote_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ func (cmd *RemoteCmd) submitBuild(project *Project, tagMap map[string]string) er
case <-finish:
return
case <-time.After(5 * time.Second):
if err := wsutil.WriteClientMessage(conn, ws.OpPing, []byte("hi Dispatcher")); err != nil {
if err := wsutil.WriteClientMessage(conn, ws.OpPing, []byte("remotebuild ping")); err != nil {
log.Errorf("Cannot send ping: %v", err)
}
}
Expand Down

0 comments on commit 6c02808

Please sign in to comment.