Commit Graph

52 Commits

Author SHA1 Message Date
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
Chris Boulton
c67ad8dad8 Merge pull request #17 from joshhawthorne/master
Just a quick update to the readme - setBackend only takes a single argument with a colon delimited host/port.
2011-06-14 02:32:09 -07:00
chris.boulton
96e2b21ef7 Update changelog to mention bug fix by andrewjshults 2011-06-14 19:29:43 +10:00
chris.boulton
ef47d3eaa9 Merge remote branch 'fridgegit/master' 2011-06-14 19:26:56 +10:00
Andrew Shults
1a5564ded5 Switch to using require_once since it seems there are some conflicts with the autoloader 2011-06-08 20:37:54 -04:00
Josh Hawthorne
91c6fff601 updated readme example of how to setBackend to use a single param with a colon for server:port rather than two separate variables 2011-04-14 19:43:04 -05:00
chris.boulton
ea441e7e8d Update release date for 1.1 2011-03-27 19:19:30 +11:00
chris.boulton
bf29c5e018 Add sample plugin 2011-03-27 19:18:28 +11: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
4d4a5ffc89 Remove php.ini settings section as it no longer applies due to getenv usage 2011-03-27 18:12:24 +11:00
chris.boulton
624e4934c5 Update change log 2011-03-27 16:02:28 +11:00
chris.boulton
1a859e2143 Add sample monit and logrotate scripts 2011-03-27 16:02:16 +11:00
chris.boulton
25fac9a16a Fix undefined variable $child on non-forking operating systems 2011-03-27 16:01:56 +11:00
chris.boulton
34de8e4307 Add PIDFILE environment variable to write the PID of a single running worker out to a file 2011-03-27 16:01:35 +11:00
chris.boulton
0372a27ab7 Remove lambda and namespaces causing PHP 5.2 incompatibility 2011-03-27 15:02:06 +11:00
chris.boulton
d2f804b82e Commit change log in preparation for 1.1 2011-02-26 20:14:54 +11:00
chris.boulton
950ab06c1a Add contributors section, and note about requiring Redis 2.2 2011-02-26 20:14:38 +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
chris.boulton
5ce4b9c954 Merge branch 'bug-9' of https://github.com/hobodave/php-resque into hobodave-bug-9 2010-12-15 18:33:59 +11:00
chris.boulton
90fd52e953 Merge branch 'refactor-env' of https://github.com/hobodave/php-resque into hobodave-refactor-env 2010-12-15 18:33:19 +11:00
David Abdemoulaie
59e7b83892 Addresses warning that posix_kill takes long not string 2010-12-14 23:55:33 -06:00
David Abdemoulaie
2ae54583f0 Fixes unit test reliability
- redis-server is killed only from parent process, not from a worker
- sleeps for half a second after starting server
2010-12-14 23:35:18 -06:00
David Abdemoulaie
65b79b7f4a Fixes job status updates - #1 2010-12-10 23:31:23 -06:00
David Abdemoulaie
f0a4990105 Refactors $_ENV to getenv 2010-12-10 17:33:33 -08: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
chris.boulton
5ff6d8b871 Merge branch 'master' of http://github.com/jmathai/php-resque 2010-10-02 09:33:21 +10:00
chris.boulton
2c26cf8d58 Merge branch 'master' of github.com:chrisboulton/php-resque 2010-10-02 09:33:08 +10: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
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