Commit Graph

23 Commits

Author SHA1 Message Date
Salimane Adjao Moustapha
68df9854a6 when reserving jobs, check if the payload received from popping a queue is a valid object (fix bug whereby jobs are reserved based on an erroneous payload) 2011-12-07 17:22:59 +08:00
Hélio Costa e Silva
016a7a13fd Added support of Redis prefix (namespaces) 2011-11-22 14:55:40 -02:00
Chris Boulton
3514a4f063 Move brace to new line 2011-09-24 15:40:20 +10:00
d11wtq
c90e21d88e Fix a bug where the worker would spin out of control taking the server with it, if the redis connection was interrupted even briefly. Use SIGPIPE to trap this scenario cleanly. 2011-09-24 15:08:53 +10:00
warezthebeef
0cfb2d2019 Fixed job arguments being wiped by array_shift 2011-08-19 12:33:05 +12:00
warezthebeef
f7eac3b5e7 Added wrapping array() to args to improve compatibility with ruby resque 2011-07-21 15:49:18 +12:00
chris.boulton
77f33c319b Move trigger call for onFailure in to ->fail(), so it can catch PHP errors 2011-03-27 19:18:16 +11:00
chris.boulton
3245c523c7 Add ability to fetch wildcarded list of queues a worker belongs to without it expanding them out using redis 2011-03-27 19:17:35 +11:00
chris.boulton
6f43fcfed8 Add a plugin/event/hook system 2011-03-27 18:42:46 +11:00
chris.boulton
25fac9a16a Fix undefined variable $child on non-forking operating systems 2011-03-27 16:01:56 +11:00
David Abdemoulaie
65b79b7f4a Fixes job status updates - #1 2010-12-10 23:31:23 -06:00
Stephen Craton
27758b47be fixed to pass PHP strict standards 2010-11-18 14:01:10 +08:00
KevBurnsJr
5fb34c3a90 Trimming output of ps -A to remove prepended whitespace. 2010-11-08 10:49:30 -08:00
KevBurnsJr
cff5d779b4 Adding support for intervals of less than 1 second. 2010-11-07 14:59:32 -08:00
Jaisen Mathai
f20ab2cac5 Fixing a typo where args was not being set properly.
Fixing some typos in the README and added troubleshooting.
2010-10-01 00:55:03 -07:00
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
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
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
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
cb4205d508 Initial commit 2010-04-18 23:58:43 +10:00