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 May 15, 2020
1 parent 7921055 commit ce1cb8c
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 ce1cb8c

Please sign in to comment.