Method: Volt::Task.timeout
- Defined in:
- lib/volt/tasks/task.rb
.timeout(value) ⇒ Object
Set the timeout for method calls on this task. (The default is Volt.config.worker_timeout) Set 0 to disable timeout
43 44 45 |
# File 'lib/volt/tasks/task.rb', line 43 def self.timeout(value) self.__timeout = value end |