Commit Graph

316 Commits

Author SHA1 Message Date
Chris Boulton
5f64653149 Change job classes to be instantiated rather than calling methods statically. This obviously makes it easier for state information to be destroyed after a job runs. This change is NOT backwards compatible and requests job classes be rewritten. Jobs also no longer receive arguments in the perform/setUp/tearDown methods but instead are passed as a $args variable to the instantiated job 2010-08-01 15:23:41 +10:00
Chris Boulton
5dc24ebbe4 Fix APP_INCLUDE typo 2010-08-01 15:07:14 +10:00
Chris Boulton
ae89f29057 Update changelog. Formatting fixes 2010-08-01 15:03:28 +10:00
Daniel Ceballos
be2ffa7d6c adding redis cluster support 2010-06-26 12:45:46 +08:00
Chris Boulton
9ce7cfb370 Change all require statements to include the full path. 2010-04-20 10:59:06 +10:00
Chris Boulton
6e6d7ad859 Add setUp and tearDown callbacks for jobs 2010-04-20 10:02:34 +10:00
Chris Boulton
94fed1cfb4 Don't return from pruneDeadWorkers if there are no worker pids 2010-04-19 15:44:46 +10:00
Chris Boulton
b71031908d Fix typo in testWorkerCanUnregister test - redis should have been resque 2010-04-19 15:07:11 +10:00
Chris Boulton
3f04a0a971 Remove unnecessary call to worker->unregisterWorker in the JobTest teardown method 2010-04-19 15:01:47 +10:00
Chris Boulton
5ac7e90374 Fix cannot break/continue error when pruning dead workers and none are found. continue should have been return 2010-04-19 14:57:14 +10:00
Chris Boulton
86a5d88309 Update todo list 2010-04-19 10:36:01 +10:00
Chris Boulton
c5396f4e86 Change arguments for jobs to an array instead of an object. Also change other json encoded items to decode to an array rather than objects 2010-04-19 10:35:50 +10:00
Chris Boulton
7ef1ebbd97 Fix up demo/queue.php job arguments 2010-04-19 00:12:35 +10:00
Chris Boulton
e3c953baf1 Fix up enqueue example arguments - they're now an object. Add example of how to access arguments in the example job 2010-04-19 00:12:14 +10:00
Chris Boulton
cb4205d508 Initial commit 2010-04-18 23:58:43 +10:00
Chris Boulton
89288e773d & go! 2010-03-11 20:21:06 +11:00