Displaying 1 result from an estimated 1 matches for "basic_work".
Did you mean:
basic_worker
2008 Jun 06
1
Unexpected NameError when invoking task on worker
...his issue would be greatly
appreciated! Thank you in advance!!
I am also attaching a text file with the output below since it might
be easier to see it in that format.
config/backgroundrb.yml
:backgroundrb:
:ip: 0.0.0.0
:port: 11009
:environment: development
:log: foreground
lib/workers/basic_worker.rb
class BasicWorker < BackgrounDRb::MetaWorker
set_worker_name :basic_worker
def create(args = nil)
# this method is called, when worker is loaded for the first time
end
def keep_count
count = 1
end
end
Then I am starting BackgrounDRb and using the console to invoke the...