Skip to content

Commit

Permalink
fix(api): revert WorkerHeartbeatTimeout to 300s (#3222)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsamin authored and bnjjj committed Aug 17, 2018
1 parent 6d8e0ae commit 28598de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/api/worker/heartbeat.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

// WorkerHeartbeatTimeout defines the number of seconds allowed for workers to refresh their beat
var WorkerHeartbeatTimeout = 60.0
var WorkerHeartbeatTimeout = 300.0

// CheckHeartbeat runs in a goroutine and check last beat from all workers
func CheckHeartbeat(c context.Context, DBFunc func() *gorp.DbMap) {
Expand Down

0 comments on commit 28598de

Please sign in to comment.