Displaying 2 results from an estimated 2 matches for "backgroundrbunix_localhost_22222".
2007 May 09
0
Neophyte needs help!
...222
:worker_dir: lib/workers
:rails_env: development
:pool_size: 15
:acl:
:deny: all
:allow: localhost 127.0.0.1
:order: deny allow
When I try to run the example, I get a NameError because it can''t seem
to
find my ExampleWorker class:
ruby backgroundrb_example
(drbunix:///tmp/backgroundrbunix_localhost_22222) /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/lib/active_support/dependencies.rb:266:in `load_missing_constant'': uninitialized constant ExampleWorker (NameError)
from
(drbunix:///tmp/backgroundrbunix_localhost_22222) /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.4.1/li...
2007 Mar 13
3
Scheduled worker dies after about 30-45 runs
...the thread to cleanup.
self.delete
end
end
EbayAuctionWorker.register
-------
>From the server logs, I''m getting this output:
--------
20070312-18:14:31 (24026) Starting BackgrounDRb Server
20070312-18:14:31 (24026) load_rails: true
20070312-18:14:31 (24026) uri:
drbunix:///tmp/backgroundrbunix_localhost_22222
20070312-18:14:31 (24026) config:
/home/david/redclay/config/backgroundrb.yml
20070312-18:14:31 (24026) temp_dir: /tmp
20070312-18:14:31 (24026) database_yml: config/database.yml
20070312-18:14:31 (24026) worker_dir: /home/david/redclay/lib/workers
20070312-18:14:31 (24026) protocol: drbunix
200703...