Mike Perham
879995dd08
actually test exhausted feature
2013-03-21 14:37:41 -07:00
James Kassemi
5824857b59
'exhausted' changed to 'retries_exhausted'
...
Additionally, any errors raised during retries_exhausted hook
are logged and dropped before resuming original control flow.
2013-03-21 12:16:07 -06:00
James Kassemi
172434d459
Call 'exhausted' worker method after retries
...
When the maximum number of retries is hit and the message is about
to be thrown away, give the option of allowing the worker to say
goodbye by defining an 'exhausted' method on the worker.
2013-03-18 15:20:28 -06:00
Ryan Lower
b199d37efd
Allow specification of retry_queue in sidekiq_options
2013-01-15 17:28:52 -08:00
Mike Perham
1d85edef1b
Fix retry off by one, #512
2012-11-09 21:36:40 -08:00
Mike Perham
b983956e76
JRuby 1.7 compat fixes
2012-11-01 16:08:27 -07:00
Noah Davis
bc1e38f85a
use 'retry' option to customize max retry attempts
...
e.g.
{ 'class' => 'HardWorker', 'args' => [1, 2, 'foo'], 'retry' => 5 }
Addresses Issue #313
2012-10-17 18:58:07 -04:00
James Le Cuirot
1de18da247
The test for throwing away after too many retries didn't actually test anything!
2012-10-16 14:55:04 +01:00
Mike Perham
c232f5e53b
fix test
2012-07-06 22:06:11 -07:00
Mike Perham
b486fcf6e0
Fix Redis 3.x API issues
2012-05-26 18:38:55 -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
Mike Perham
e65efd5f0a
Implement optional backtrace storage [ #155 ]
2012-04-27 20:25:46 -07:00
Erik Michaels-Ober
5eb8d397f0
Refactor to use Sidekiq.dump_json and Sidekiq.load_json
...
These methods perform MultiJson feature detection and can be removed
after this library's MultiJson dependency is upgraded to ~> 2.0.
2012-04-22 14:02:35 -07:00
Erik Michaels-Ober
68c725e47b
Let's try this again...
...
Use `Object#respond_to?` to determine which MultiJson API to use.
2012-04-22 13:46:00 -07:00
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
e38a3d785a
Auto failure retry now working!
2012-03-17 23:04:31 -07:00
Mike Perham
b782c05e1b
Test cleanup
2012-03-17 21:36:33 -07:00
Mike Perham
97ddc29208
initial retry testing
2012-03-17 18:22:56 -07:00