Method: Cloudmunda::Worker::ClassMethods#timeout
- Defined in:
- lib/cloudmunda/cli/worker.rb
#timeout(timeout) ⇒ Integer
Sets the time in seconds the worker has to process the job before the broker consider it as expired and can schedule it to another worker.
120 121 122 |
# File 'lib/cloudmunda/cli/worker.rb', line 120 def timeout(timeout) @timeout = timeout end |