lib/volt/tasks/task.rb in volt-0.9.5 vs lib/volt/tasks/task.rb in volt-0.9.6.pre1

- old
+ new

@@ -37,10 +37,11 @@ @subclasses ||= [] end # Set the timeout for method calls on this task. (The default is # Volt.config.worker_timeout) - def timeout(value) + # Set 0 to disable timeout + def self.timeout(value) self.__timeout = value end def cookies @cookies ||= Model.new