1
延遲::作業使用模塊? 我有麻煩吧:延遲::模塊作業
module SomeModule
class SomeClass
def regular_method
self.delay.long_method "test"
end
def long_method data
puts data
end
end
end
錯誤消息:
[Worker(host:leo pid:10480)] SomeModule::SomeClass#long_method failed with NoMethodError: undefined method `long_method' for #<YAML::Object:0xcee13b0 @class="SomeModule::SomeClass", @ivars={}> - 4 failed attempts
[Worker(host:leo pid:10480)] 1 jobs processed at 9.1484 j/s, 1 failed ...