Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase the default for
runner.poll.interval
config option to 60
This option is used to define the `poll_interval` argument of all `Runner` instances that are created to run all processes. It determines the interval with which the state of a subprocess, that a `WorkChain` is waiting on, is checked whether it is terminated. If that is the case, a callback is called which will signal to the `WorkChain` that it can continue. This polling is a backup mechanism in case the broadcast by the process when it terminates is missed by the caller, which would cause it to wait indefinitely. The original default of 1 was causing unnecessary load on the CPUs as well as the database that each time had to query for the process state. When running many calculations this would spin the CPUs noticeably. Since this is supposed to be a fail-safe mechanism and it should only be required rarely, it is fine to increase the time significantly to reduce the load.
- Loading branch information