Skip to content
Snippets Groups Projects
Commit b3ed6359 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[settings] Add flag to control worker state update

parent 90969883
No related branches found
No related tags found
1 merge request!194Scheduler
......@@ -219,6 +219,12 @@ SCHEDULING_INTERVAL = 5 #seconds
# a particular worker will run to verify jobs are not scheduled to itself
WORKER_INTERVAL = 5 #seconds
# This is the frequency in seconds, in which the worker will update information
# about its internal state to the database. It is typically larger (much
# larger) than the WORKER_INTERVAL to avoid overloading the database with
# unnecessary requests.
WORKER_STATE_UPDATE = 60 #seconds
# The maximum index split errors control the maximum number of times we can
# incur in an index split error condition without cancelling the block
# execution altogether. This number, multiplied by the scheduling interval,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment