Worker: only call may-I-keep-running endpoint every 10 seconds
For debugging it was nice to have this called every second, but for production use that's a bit too frequent.
This commit is contained in:
parent
0a3009d6ed
commit
d9a955beee
@ -20,7 +20,7 @@ const (
|
||||
durationFetchFailed = 10 * time.Second // ... if fetching failed somehow.
|
||||
durationTaskComplete = 2 * time.Second // ... when a task was completed.
|
||||
|
||||
mayKeepRunningPeriod = 1 * time.Second
|
||||
mayKeepRunningPeriod = 10 * time.Second
|
||||
)
|
||||
|
||||
// Implement error interface for `api.MayKeepRunning` to indicate a task run was
|
||||
|
Loading…
x
Reference in New Issue
Block a user