Displaying 3 results from an estimated 3 matches for "reload_on_schedule".
2008 Jun 27
2
Tests failing when using ''reload_on_schedule true''
Hi All,
When I add the line ''reload_on_schedule true'' to my worker, my tests
will no longer run with the following exception:
Starting ferret DRb
server.../Users/revelation/projects/revelation-project/config/../lib/workers/alert_worker.rb:3:
undefined method `reload_on_schedule'' for AlertWorker:Class
(NoMethodError)
class Ale...
2008 Apr 09
3
reload_on_schedule
Hello,
Does reload_on_schedule force the worker to be reloaded even if it is
already running?
Or does it just load the worker if its not running when the schedule fires?
I want to load the worker at the scheduled time if its not running, but I
don''t want to reload the worker if its already running.
Make sense?
Thank...
2008 Apr 14
6
Good news: BackgrounDRb now works on Windows
...ter than not being able to use it
at all. It''s perfectly acceptable for a development machine, which is how I
use Rails on Windows. (My project is going to deploy on something that ends
in nix.)
On the other hand if you''re going to be dynamically creating background
workers (e.g. reload_on_schedule true or set_no_auto_load true) you''ll wait
a while for the worker to start up on Windows.
Will this slow startup time ever block a Rails server request? Not that I''ve
seen. From what I''ve seen BackgrounDRb never starts a new worker process
because of an API call. The onl...