Mike Perham
bf377d44e8
Better logging, fixes GH-55
2012-02-25 13:43:53 -08:00
Mike Perham
f2da181765
Automatically requeue messages for terminated workers, fixes GH-51
2012-02-22 16:54:38 -08:00
James Miller
08a0c78581
Switch airbrake to generic ExceptionHandler class and add support for ::Exceptional
2012-02-22 11:47:02 -08:00
Mike Perham
8ee8137caa
Refactor options to be globally available for things like
...
connection pool sizing.
2012-02-19 13:05:19 -08:00
Mike Perham
6af6a86369
Refactor middleware API, this will break anyone using the old API.
...
e.g.
Sidekiq::Processor.middleware => Sidekiq.server_middleware
Sidekiq::Client.middleware => Sidekiq.client_middleware
2012-02-18 12:12:05 -08:00
Mike Perham
00501031df
One redis accessor to rule them all.
2012-02-17 13:39:36 -08:00
Mike Perham
2c83b74f27
Process.pid does not work on Heroku, #22
2012-02-15 12:30:31 -08:00
Mike Perham
8cd021b4ca
Unique jobs will be the death of me.
2012-02-12 12:22:01 -08:00
Mike Perham
f9af66edd7
Rework redis connections so that the manager and
...
the client use separate pools.
This is so the Rails app Sidekiq::Client and
Sidekiq::Manager can use different configurations.
Also, fix issue where workers were not unregistered
in Redis upon shutdown.
2012-02-11 13:14:03 -08:00
Mike Perham
b9bb5b7699
Fix issue with workers stat set
2012-02-10 23:32:42 -08:00
Mike Perham
23651d5196
First pass at Resque-compatible processing stats
2012-02-10 23:16:12 -08:00
Ryan LeCompte
8bf25385d2
comments
2012-02-08 17:50:13 -08:00
Ryan LeCompte
c3609d6d48
refactor middleware into client/server layers
2012-02-08 17:04:02 -08:00
Ryan LeCompte
1a028c4a2f
introduce middleware for cleanup of encoded payloads
2012-02-07 17:18:28 -08:00
Ryan LeCompte
144bc904cf
rework how middleware chain is invoked, add middleware tests and cleanup
2012-02-04 21:45:34 -08:00
Mike Perham
5a151d71e1
Implement message processing middleware, patterned after Rack
2012-02-04 16:53:09 -08:00
Mike Perham
b77e8795ca
Work around Celluloid issue #22 causing hung tests
2012-01-29 14:35:16 -08:00
Mike Perham
1a03aa203f
A small but vital fix, self != current_actor
2012-01-26 13:02:47 -08:00
Mike Perham
922d5f8dbe
Add Sidekiq::Processor testing, with bug fixes
2012-01-26 12:45:04 -08:00
Mike Perham
2771a0ad96
Rename workers to processors. New Railtie support.
...
Workers are the user's classes, the threads are now called processors. Add secret sauce to make Rails config much easier. Use a railtie to auto-add app/workers to the autoload path.
2012-01-25 13:32:51 -08:00