awaw fumin
426caabe55
update comments from blpop to brpop
2014-03-05 19:04:32 +08:00
Mike Perham
9867b728c4
Concerted effort to increase test coverage: 86 -> 88%
2014-02-01 15:04:20 -08:00
Mike Perham
934f91cd2c
Early exit for noop requeue
2013-12-01 12:38:49 -08:00
Jonathan Hyman
78c694be89
Move bulk_requeue back to class method.
2013-11-23 12:53:39 -05:00
Jonathan Hyman
381cca1df8
Use bulk_requeue instead of terminate.
2013-11-22 15:45:30 -05:00
Jonathan Hyman
5bcda3e5f1
Groundwork for transfering reliable fetch working queue back to public queue on graceful shutdown.
2013-11-21 06:09:30 -05:00
Aaron Ackerman
812c1dc0bd
Fix method name collision between Sidekiq::Fetcher and Sidekiq::ExceptionHandler
2013-11-09 21:48:54 -06:00
Mike Perham
55726ca900
Add Sidekiq::Actor which provides a testable alternative to Celluloid
2013-05-10 22:12:44 -07:00
Mike Perham
f4c54ff5e2
Sidekiq will now shut down successfully if Redis is down.
2013-05-10 17:19:23 -07:00
Mike Perham
b04f7ac033
More intelligent redis error handling for job fetch
2013-05-10 16:45:08 -07:00
Mike Perham
b9ae174755
Properly handle namespaced queue names in Fetcher's UnitOfWork, fixes #744
2013-03-02 15:59:01 -08:00
Mike Perham
301bba7189
Fix unset fetch strategy crashing requeue, #680
2013-02-05 15:11:41 -08:00
Mike Perham
0e19aee7bf
I'm a TDD master.
2013-01-16 21:53:48 -08:00
Mike Perham
79687c9910
Move bulk requeue into the fetch strategy, #624
2013-01-16 21:48:21 -08:00
Ravil Bayramgalin
8783c4ac1d
Simplify BasicFetch#queues_cmd
...
And improve weight honoring.
2013-01-11 09:59:11 +04:00
Mike Perham
db48ff74bf
Fix empty queue crash, fixes #612
2013-01-08 08:43:34 -08:00
Mike Perham
7408387ee0
Refactor fetch strategy, fix queueing to lpush and rpop.
2013-01-05 21:17:08 -08:00
Mike Perham
2055377187
Don't clear workers set until actually shutting down, #492
2012-11-09 20:40:23 -08:00
Mike Perham
110cc1dc42
Update Celluloid API usage, use .async, fixes #500
2012-11-03 19:56:06 -07:00
Jake Mack
e6c306de15
Removed -s flag, simplified queue logic
2012-07-31 13:58:50 -07:00
Jake Mack
05aa2b2552
Performance enhancing codes
2012-07-27 16:03:01 -07:00
Jake Mack
c779018af8
Implemented a strictly ordered queue switch
2012-07-27 15:18:11 -07:00
Mike Perham
1d0f6b03dc
Bloody hack to shutdown the Fetcher quickly, since Celluloid's terminate is not working as I expect
2012-05-11 21:25:38 -07:00
Mike Perham
091d88bc33
Various cleanups
2012-04-18 20:13:10 -07:00
Mike Perham
be90cb2da4
Play even nicer with celluloid
2012-04-18 17:06:46 -07:00
Ryan LeCompte
e980ed7c3c
use #after instead of retry to place nicely with celluloid
2012-04-18 17:00:57 -07:00
Ryan LeCompte
b4715d7bed
graceful error rescue and retry in fetcher
2012-04-18 16:31:17 -07:00
Ryan LeCompte
bceacec766
ensure that after applying weights, all queues are represented in the blpop command
2012-04-03 23:35:46 -07:00
Ryan LeCompte
a72d3185c1
initialize queue names only once
2012-04-03 20:38:03 -07:00
Ryan LeCompte
e529d78c73
re-introduce weighted queues
2012-04-03 20:19:29 -07:00
Mike Perham
efb2273461
Fix queue name with namespace, fixes #109
2012-04-03 07:09:43 -07:00
Mike Perham
b58d125659
Clean up requires
2012-03-31 12:45:24 -07:00
Mike Perham
da01d927a6
Refactor fetch, X-treme termination!
2012-03-30 20:59:08 -07:00
Mike Perham
4d14c2f7fa
Simpler fetch logic/design
2012-03-30 19:52:25 -07:00
Mike Perham
5fdc297e10
Redesign message poll [WIP]
...
Instead of using the manager to constantly poll the Redis server, use a dedicated Fetcher actor + BLPOP with a timeout. This should dramatically reduce Sidekiq's network chattiness.
2012-03-30 19:52:25 -07:00