Thanks for the response. However, when I remove the line
"t_reactor.start_worker(:worker => :log_worker)", I see this in
backgroundrb_server.log on startup:
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/meta_pimp.rb:48:in
`process_
request': undefined method `send_request' for nil:NilClass (NoMethodError)
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/meta_pimp.rb:27
:in `handle_object'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/meta_pimp.rb:20
:in `receive_data'
from
<rails_app_dir>/vendor/plugins/backgroundrb/lib/../framework/packet/bin_pars
er.rb:37:in `call'
from
<rails_app_dir>/vendor/plugins/backgroundrb/lib/../framework/packet/bin_pars
er.rb:37:in `extract'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/meta_pimp.rb:18
:in `receive_data'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/packet_master.r
b:63:in `handle_internal_messages'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/core.rb:158:in
`start_reactor'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/core.rb:156:in
`each'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/core.rb:156:in
`start_reactor'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/core.rb:147:in
`loop'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/core.rb:147:in
`start_reactor'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/packet_master.r
b:20:in `run'
from
<rails_app_dir>/vendor/plugins/backgroundrb/server/master_worker.rb:163:in `
initialize'
from <rails_app_dir>/script/backgroundrb:38:in `new'
from <rails_app_dir>/script/backgroundrb:38
<rails_app_dir>/vendor/plugins/backgroundrb/lib/../framework/packet/nbio.rb:23:in
`read_d
ata': Packet::DisconnectError (Packet::DisconnectError)
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/worker.rb:47:in
`handle_internal_messages'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/core.rb:158:in
`start_reactor'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/core.rb:156:in
`each'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/core.rb:156:in
`start_reactor'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/core.rb:147:in
`loop'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/core.rb:147:in
`start_reactor'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/worker.rb:21:in
`start_worker'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/packet_master.r
b:139:in `fork_and_load'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/packet_master.r
b:98:in `load_workers'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/packet_master.r
b:93:in `each'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/packet_master.r
b:93:in `load_workers'
from
<rails_app_dir>/vendor/plugins/backgroundrb/framework/packet/packet_master.r
b:19:in `run'
from
<rails_app_dir>/vendor/plugins/backgroundrb/server/master_worker.rb:163:in `
initialize'
from <rails_app_dir>/script/backgroundrb:38:in `new'
from <rails_app_dir>/script/backgroundrb:38
On Tue, Feb 19, 2008 at 6:36 AM, hemant <[EMAIL PROTECTED]> wrote:
> On Mon, Feb 18, 2008 at 11:19 PM, Tony Li <[EMAIL PROTECTED]> wrote:
> > Hi all,
> >
> > What's the cleanest way to not run the results and logger workers?
> >
>
> There is no result worker, if you are running the latest version of
> plugin. However, if you want to disable logger worker, then you can
> simply edit master_worker.rb file and remove the line where logger
> worker is being started. Probably in future versions, this can be made
> configurable.
>
_______________________________________________
Backgroundrb-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/backgroundrb-devel