Tobias Svensson
bc726c6552
Better protection against stale locks and race-conditions.
...
Locking is now done using WATCH/MULTI/EXEC/UNWATCH and additionally
includes a host and process specific identifier to prevent accidental
unlocks from other Sidekiq processes.
2013-08-13 11:46:15 +01:00
Tobias Svensson
838517d388
Rename Sidekiq::Schedulable#tiq to #recurrence.
2013-07-12 10:33:57 +01:00
Tobias Svensson
280bafc6cc
Fix tests to work with recent Sidekiq::Client changes.
2013-07-12 10:17:07 +01:00
Tobias Svensson
1ec6ac3bdf
Remove C extension (addresses #4 and #5 ).
2013-06-24 09:54:33 +01:00
Marcelo Silveira
c59cfbcea8
upgrade sidekiq to 2.12.X
2013-06-19 11:30:51 -07:00
Tobias Svensson
6cc8fdadc6
Add backfill functionality.
2013-03-11 17:11:37 +00:00
Tobias Svensson
bdb6babe30
Don't inherit from IceCube::Schedule.
2013-03-11 14:51:31 +00:00
Tobias Svensson
60b7db60e7
Add Sidetiq.logger API.
2013-03-11 14:23:49 +00:00
Tobias Svensson
fdfa32d9b2
Add Sidetiq.retries.
2013-03-11 13:01:37 +00:00
Tobias Svensson
486f45adb3
Add Sidetiq.scheduled.
2013-03-11 12:25:07 +00:00
Tobias Svensson
4b0a71ff51
Add Sidetiq.workers.
2013-03-11 12:24:42 +00:00
Tobias Svensson
5058048ae3
Add Sidetiq.schedules.
2013-03-11 12:24:11 +00:00
Tobias Svensson
d4b7761dde
Move LastAndScheduledTicksWorker into fixtures.
2013-03-11 11:34:52 +00:00
Tobias Svensson
14b12ed6df
Don't use intervals in ScheduledWorker.
2013-03-11 11:17:29 +00:00
Tobias Svensson
7b8dddc638
Move test worker classes into fixtures directory.
2013-03-11 11:00:55 +00:00
Tobias Svensson
ce983f5634
Add some more parentheses.
2013-03-11 10:52:22 +00:00
Tobias Svensson
a5525dd860
Add missing parentheses.
2013-03-11 10:47:29 +00:00
Lee Henson
91e90f418e
add class methods to get last/next run timestamps for a worker
2013-03-08 16:02:34 +00:00
Lee Henson
26600bef23
send last and scheduled invocation timestamps to worker.perform, if required
2013-03-08 16:02:04 +00:00
Tobias Svensson
3454176a04
Only create coverage report if COVERAGE env variable is set.
2013-02-08 12:54:32 +00:00
Tobias Svensson
c8faeadb82
Allow jobs to be scheduled immediately via the web extension.
2013-02-06 10:51:30 +00:00
Tobias Svensson
1ef0fc8680
Fix order assert_match arguments in web extension tests.
2013-02-04 13:55:35 +00:00
Tobias Svensson
046ccef679
Add middleware to restart the clock if necessary.
2013-02-04 10:54:48 +00:00
Tobias Svensson
f4c81098f1
Support manual starting/stopping of the clock.
2013-02-04 10:51:43 +00:00
Tobias Svensson
61effa89a8
Don't start the clock automatically.
2013-02-04 10:13:02 +00:00
Tobias Svensson
014f2b28c1
Delegate calls to Sidetiq::Clock to instance.
2013-02-04 10:10:53 +00:00
Tobias Svensson
932b6a01c0
Add option to use UTC instead of local time.
2013-02-01 18:27:27 +00:00
Tobias Svensson
3188669bab
Not using mock redis anymore.
2013-02-01 16:56:23 +00:00
Tobias Svensson
dab7decb78
Add a locking mechanism so jobs won't get enqueued more often than they should.
2013-02-01 16:53:34 +00:00
Tobias Svensson
46c013f725
Initial version of the web extension.
2013-02-01 12:26:17 +00:00
Tobias Svensson
2d73e6f77f
Add tests for Sidetiq::Schedule.
2013-02-01 12:11:36 +00:00
Tobias Svensson
e81850b5cb
Add tests for configuration API.
2013-02-01 12:11:25 +00:00
Tobias Svensson
08b76a3737
Initial commit.
2013-01-31 17:42:19 +00:00