1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
Commit graph

17 commits

Author SHA1 Message Date
Mike Perham
20cf90d003 Randomize initial scheduler timing 2014-06-07 20:57:33 -07:00
Mike Perham
eac17801bd Add logic to self-tune the poll_interval based on available
heartbeat info.

Fixes #1630
2014-06-07 15:12:31 -07:00
Mike Perham
c2f09b7a05 Remove 'at' property so it doesn't confuse Client 2013-05-24 20:34:26 -07:00
Dimko
c7828f1fb8 Scheduled and retry jobs now executes client middleware 2013-05-24 16:31:55 +04:00
Mario Visic
fabe0e0fed Scheduled and retry jobs add an enqueued_at time when they are put into the queue 2013-05-24 13:32:49 +10:00
Mike Perham
55726ca900 Add Sidekiq::Actor which provides a testable alternative to Celluloid 2013-05-10 22:12:44 -07:00
Mike Perham
2b8e3bd9ed Use lpush, not rpush, when scheduling/retrying work 2013-04-17 09:45:09 -07:00
Brian Durand
89180968f9 update code documentation on scheduled poller 2013-04-11 00:43:34 -07:00
Brian Durand
0c76c3bade Change poller to pop messages one at a time so they don't get lost if something goes wrong during a large pop operation. 2013-04-10 17:38:36 -07:00
Mike Perham
86591fe9e3 Rescue any scheduler thread error, fixes #309 2013-04-04 11:52:32 -07:00
Jacek Becela
aa56400379 Update lib/sidekiq/scheduled.rb
Catch Redis::TimeoutError, Redis::ConnectionError thrown by Redis client on networking errors.

See: https://github.com/redis/redis-rb/blob/master/lib/redis/client.rb#L200
2012-08-16 11:42:57 +03:00
Mike Perham
1ee0d5e9b0 Fix networking errors causing scheduler to die [#309] 2012-07-30 10:23:34 -07:00
Kyle Drake
e2b23976b8 fix poll interval for scheduling 2012-07-15 23:11:38 -07:00
Mike Perham
b891ed4d21 scheduled jobs should touch queues, #281 2012-07-06 21:59:47 -07:00
Jon Hinson
ada51e6176 Make poll interval configurable 2012-06-19 15:39:20 -05:00
Mike Perham
82da2cd62b Add random jitter to scheduler polling [#247] 2012-06-14 08:36:00 -07:00
Mike Perham
2c4be4cada Scheduled jobs! Bump to 2.0.0.
Performs can now be scheduled at arbitrary points in the future.
2012-05-25 20:21:42 -07:00