Skip to content

Commit

Permalink
30 s heartbeat
Browse files Browse the repository at this point in the history
  • Loading branch information
drewbailey committed Sep 25, 2020
1 parent 12f078c commit 05f6a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/event_endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func (e *Event) stream(conn io.ReadWriteCloser) {
ndJsonCh := make(chan *stream.NDJson)
errCh := make(chan error)

jsonStream := stream.NewNDJsonStream(ndJsonCh, 5*time.Second)
jsonStream := stream.NewNDJsonStream(ndJsonCh, 30*time.Second)
jsonStream.Run(ctx)

e.srv.State().LatestIndex()
Expand Down

0 comments on commit 05f6a87

Please sign in to comment.