If I run Merb in console mode and Merb::Config[:reap_workers_quickly] is false (i.e. the environment is not 'development' or I'm running a cluster) I get this every time a worker is killed:
^C ~ Reaping Workers merb : worker (port 4000) ~ Worker Thread Crashed with Exception: - (RuntimeError) /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/dispatch/worker.rb:17:in `process_queue' /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/dispatch/worker.rb:32:in `initialize' /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/dispatch/worker.rb:31:in `loop' /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/dispatch/worker.rb:31:in `initialize' /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/dispatch/worker.rb:30:in `new' /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/dispatch/worker.rb:30:in `initialize' /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/dispatch/worker.rb:13:in `new' /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/dispatch/worker.rb:13:in `start' /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/rack/adapter/abstract.rb:157:in `start_at_port' /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/rack/adapter/abstract.rb:85:in `start' /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/server.rb:174:in `bootup' /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core/server.rb:42:in `start' /Library/Ruby/Gems/1.8/gems/merb-core-1.0/lib/merb-core.rb:169:in `start' /Library/Ruby/Gems/1.8/gems/merb-core-1.0/bin/merb:11 /usr/bin/merb:19:in `load' /usr/bin/merb:19 It's somewhat annoying when developing since I obviously get it every time I save a file. I'm not taking this straight to Lighthouse because I can't shake the feeling that this is on me somehow. Still, I can plainly see the raise on line 17 in worker.rb, I just don't know why it's there. git-blame tells me that wycats added it a week ago. To reproduce: $ merb -N -c 2 or $ merb -e sldkjflsdfj and press ^C PS. I think it's a little unfortunate that the environment name "development" now has special hard coded status, as I switch between two environments when developing; depending on if I'm at the office and have access to certain firewalled databases and services or not. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/merb?hl=en -~----------~----~----~----~------~----~------~--~---
