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

29 commits

Author SHA1 Message Date
Mike Perham
9c6b967029 Revert "Use MultiJson APIs introduced in version 1.3 to suppress deprecation warnings"
Breaks Rails 3.2 and lower

This reverts commit 9c6d5623a1.
2012-04-18 14:57:24 -07:00
Erik Michaels-Ober
9c6d5623a1 Use MultiJson APIs introduced in version 1.3 to suppress deprecation warnings 2012-04-18 10:51:25 -07:00
Mike Perham
2080412119 Client API update:
- Add API for configuring options per Worker class
- Removed the Client API issues preventing it working on Ruby 1.8
- Cleanups to various APIs for upcoming 1.0 release.
2012-04-01 19:53:45 -07:00
Mike Perham
7eaa50461d No need to hold the connection while doing other things 2012-03-26 19:54:04 -07:00
Mike Perham
db4198142a Fix race condition in unique job lookup, #87 2012-03-22 20:43:14 -07:00
Mike Perham
e38a3d785a Auto failure retry now working! 2012-03-17 23:04:31 -07:00
Mike Perham
08fd2b9cf5 HOT new automatic retry feature. Needs testing. 2012-03-17 17:59:46 -07:00
Mike Perham
8adba07887 Simplify middleware testing 2012-03-17 17:59:18 -07:00
Mike Perham
74d0e5ec35 Upgrade to connection_pool 0.9.0
Remove all connection_pool usage of method_missing.
Change Sidekiq.redis API to require a block.
2012-03-14 09:56:13 -07:00
Mike Perham
d2263cbfe1 Add basic web testing, promote 'queues' set to core. 2012-03-10 13:07:19 -08:00
Mike Perham
bcbc3866b4 Fix airbrake backtraces, fixes #60
Fix e => ex
2012-02-27 21:56:41 +01:00
Claudio Poli
c23b5f4791 Add support for ExceptionNotifier
Missing parameter
2012-02-27 08:42:09 +01:00
Mike Perham
bf377d44e8 Better logging, fixes GH-55 2012-02-25 13:43:53 -08:00
James Miller
978a423419 Remove debug 2012-02-22 13:04:18 -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
Fredrik Björk
12d688f209 added FailureJobs middleware 2012-02-18 19:49:59 -08:00
Mike Perham
92c1942363 Documentation update 2012-02-18 13:08:53 -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
b210dd788c Update Sidekiq logging to use standard Ruby logger 2012-02-14 09:00:26 -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
23651d5196 First pass at Resque-compatible processing stats 2012-02-10 23:16:12 -08:00
Mike Perham
fd46c5471a Client workers can now define associated queue
Configure client middleware chain by default
Middleware entries should be unique
Change client#push to return boolean based on pushed or not.
2012-02-10 20:20:01 -08:00
Mike Perham
a1f78816a7 Implement generic Ruby support via simple require flag
Various cleanups
It's "assert_equal(expected, actual)"
2012-02-09 20:32:59 -08:00
Max Spransy
8caa3ee950 add resque web compatability middleware 2012-02-09 12:39:45 -06:00
Max Spransy
78aad94817 Pass queue to middleware when called 2012-02-09 11:25:04 -06:00
Max Spransy
41e69fe723 require digest in unique job middleware to fix tests 2012-02-09 10:27:00 -06:00
Ryan LeCompte
35c0ae5067 add middleware classes 2012-02-08 17:04:19 -08:00