-
Notifications
You must be signed in to change notification settings - Fork 36
config schwartzclientdeadline
Defines a limit, in seconds, on the amount of time that a given MT::TheSchwartz work_until_done loop should spend processing the queue. When the MT::Schwartz object begins processing jobs, the epoch is recorded. After each MT::TheSchwartz::Job is marked complete or failed, the current time is checked. When the current time is more than SchwartzClientDeadline
seconds after the moment that the loop was entered, work_until_done returns, allowing the calling process to proceed as though all jobs had been processed. This will not affect the performance of any Schwartz tasks once they are begun; it is only checked before beginning each new Schwartz job.
disabled
- integer (time in seconds, common values are 5 to 8 minutes or 300 to 480 seconds respectively)
Specify 300 seconds (5 minutes):
SchwartzClientDeadline 300
-
Categories: Appendix: Configuration Directives
-
Tags: client, config, run-periodic-tasks, Schwartz