Commit Graph

77 Commits

Author SHA1 Message Date
warezthebeef
f7eac3b5e7 Added wrapping array() to args to improve compatibility with ruby resque 2011-07-21 15:49:18 +12:00
Patrick Bajao
863099564e Modified setBackend() to accept as the second parameter 2011-06-14 17:33:38 +08:00
Patrick Bajao
27beb8cc20 Added database parameter in setBackend() to select the database for a connection. The default database is set to 0. 2011-06-14 17:33:37 +08:00
humancopy
cd3b0cca0e Set autoload to false for 'class_exists' calls. Currently it is not set, so the default is true which causes any defined '__autoload' function in the included app to be called. 2011-05-18 18:34:29 +02: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
chris.boulton
0372a27ab7 Remove lambda and namespaces causing PHP 5.2 incompatibility 2011-03-27 15:02:06 +11:00
Oleg Topchiy
d39a5f57d6 updated redisent to make it redis 2.2 compatible 2011-02-25 21:41:54 +02:00
chris.boulton
4bc96dd88c require -> require_once 2010-12-16 16:16:32 +11:00
chris.boulton
c80b1048d8 Load Redisent from the correct location 2010-12-16 16:03:41 +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
5fcd195db1 Fixing bug in Redisent causing Resque to ignore queue items larger than 1Kb. 2010-11-08 11:35:33 -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
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
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