Displaying 1 result from an estimated 1 matches for "city_updater_worker".
2007 Feb 18
2
backgroundrb launches concurrent instances of same job
...t launches
two of the same job, apparently a minute(?) apart from each other. Should
this be happening if I have repeat interval enabled with a job_key? It
seems like it should wait until the job is finished before launching a new
instance.
--Backgroundrb_schedules.yml--
city_updater:
:class: :city_updater_worker
:job_key: :city_updater
:worker_method: :do_work
:worker_method_args: scheduled workers require some args, so here you
go...
:trigger_args:
:start: <%= Time.now + 5.seconds %>
:repeat_interval: <%= 1.minutes %>
It''s currently launching two instances of cit...