Can you alter the pulling time interval (5sec) for delayed_job worker?

Sure, just go to RAILS_ROOT/vendor/plugins/delayed_job/lib/delayed/worker. Rb, look for the line self. Sleep_delay = 5 and change it to self.

Sleep_delay = 2 or whatever you'd like On an earlier version of DJ I set this to as little as 0.1 so that the jobs in the queue get picked up for processing almost instantly and it works just fine.

– c2h2 Mar 21 at 4:57 1 Try this Delayed::Worker::sleep_delay = number_of_seconds # in your RAILS_ROOT/config/initializers/delayed_job_config. Rb – drhyde Mar 21 at 15:58.

Try setting Delayed::Worker. Const_set("SLEEP", 2) in your config/initializers/delayed_job_config. Rb file.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions