Dan Rahmel
f29e09d68b
Added remove_queue command from Resque
2015-03-13 14:49:30 -07:00
Chris Boulton
a8322cd4e7
Merge pull request #212 from chrisboulton/beforeEnqueue
...
Add beforeEnqueue hook
2015-02-04 10:56:54 -08:00
Chris Boulton
8007705221
return false when job creation is cancelled by beforeEnqueue
2015-02-02 12:29:26 -08:00
Chris Boulton
a95c24b32e
add beforeEnqueue hook that allows the enqueue to be cancelled
2015-02-02 12:29:24 -08:00
Axel K.
6cda08de25
#218 Remove item from queue as well when args match
2014-11-10 15:38:58 +01:00
vincent zhao
bc9dac71ca
Allows a callable to be passed to Resque::setBackend for setting Resque::
2014-09-25 10:31:09 +10:00
Wedy Chainy
29e37784cd
Alter dequeue - now accepting 'args' and "ID" arguments
2014-09-23 09:42:31 +10:00
Wedy Chainy
4a97c14628
dequeue
2014-09-22 16:17:16 +10:00
Iskandar Najmuddin
3b074a046a
Revert file modes back to 644
2014-05-05 17:48:47 +00:00
Iskandar Najmuddin
506b769b90
Make parseDsn() method static, remove unused member vars
2014-05-05 15:08:00 +00:00
Iskandar Najmuddin
1abbad3f5e
Improve comments and readability
2014-05-05 14:47:43 +00:00
Michael Alexander
f91352d810
Renamed references of token to id.
2013-11-18 10:02:03 +11:00
Michael Alexander
6d8cd501b7
Added token as an argument to the afterEnqueue callback
2013-11-12 13:11:48 +11:00
Chris Boulton
59f617e639
Merge pull request #63 from ruudk/blocking-list-pop
...
Basic support for blocking list pop
2013-06-12 01:09:11 -07:00
Aaron Bonner
f3dcc092d4
Add type to $queue param in size()'s docblock
2013-05-29 15:59:46 +01:00
Ruud Kamphuis
2794dd54a9
Merge branch 'blocking-list-pop' of github.com:ruudk/php-resque into blocking-list-pop
...
Conflicts:
bin/resque
lib/Resque.php
lib/Resque/Job.php
2013-05-29 09:31:53 +02:00
Ruud Kamphuis
bfbff5e58e
Unit tests pass
2013-05-29 09:29:24 +02:00
Ruud Kamphuis
86ae77811d
Working blocking list pop :)
2013-05-29 09:17:06 +02:00
Ruud Kamphuis
b8f98eecd2
WIP
2013-05-29 09:14:18 +02:00
Ruud Kamphuis
15324ca410
Fixed bug
2013-05-29 09:14:17 +02:00
Ruud Kamphuis
4d5552867a
Basic support for blocking list pop
2013-05-29 09:14:17 +02:00
Daniel Hunsaker
8d1a9a5564
Updated to match coding style.
...
Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2013-05-12 12:58:18 -06:00
Daniel Hunsaker
3798fa3ba6
Added enqueue failure detection
...
If a job fails to be enqueued, it would be useful to know it. So now
Resque actually tells us whether the enqueue action was successful or
if it failed. If your job ID comes back as FALSE, it didn't enqueue.
Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2013-05-09 16:27:50 -06:00
Ruud Kamphuis
c2c4d06f7b
Working blocking list pop :)
2013-03-13 12:41:32 +01:00
Ruud Kamphuis
132531e1a2
WIP
2013-03-12 11:28:25 +01:00
Ruud Kamphuis
5687c8fe82
Merge branch 'master' of git://github.com/chrisboulton/php-resque into blocking-list-pop
...
Conflicts:
lib/Resque.php
lib/Resque/RedisCluster.php
lib/Resque/Worker.php
2013-03-11 22:40:36 +01:00
Chris Boulton
6800fbe5ac
fix compatibility with phpredis
...
* implement a fork helper method that closes the connection to redis before forking (instead of resetting after)
to work around bugs with phpredis/socket fork handling
* phpredis does not automatically typecast to string, so worker name must be typecasted when registering
2013-01-13 02:59:06 +11:00
Chris Boulton
2ba15eb555
replace Redisent with Credis (also adds native phpredis support)
2013-01-12 23:37:38 +11:00
Chris Boulton
2f5b48930f
make better use of composer across php-resque
...
* recommend php-resque be installed via Composer
* provide quick getting started steps
* move ./resque.php to bin/resque, make it available as a Composer bin
* have classes autoloaded via Composer (or some other means if not using Composer)
2013-01-12 22:40:26 +11:00
Chris Boulton
0549d6c88a
update version to 1.2
2012-10-13 18:28:16 +11:00
Chris Boulton
c908109a74
Remove silly copyright line in docblock comments, update email address, remove copyright year because it is boring to maintain
2012-10-13 17:55:41 +11:00
Ruud Kamphuis
5eff86d3c3
Fixed bug
2012-09-10 10:23:18 +02:00
Ruud Kamphuis
41bf8c1c26
Basic support for blocking list pop
2012-08-24 16:51:03 +02:00
Chris Boulton
b0fbfa4f15
make the queue for an enqueued job available in the afterEnqueue event
2012-05-10 22:13:28 +10:00
Chaitanya Kuber
cc871c06ab
fixed spelling error and removed debug code
2012-03-15 20:03:34 -05:00
Chaitanya Kuber
48a7febd88
Merge branch 'master' of https://github.com/chrisboulton/php-resque
2012-03-06 22:48:01 -06:00
Chris Boulton
0ad5903a85
Merge remote-tracking branch 'pedroarnal-master/master'
...
Conflicts:
lib/Resque.php
2012-03-05 19:41:09 +11:00
Chris Boulton
ebe7665817
fix lost jobs when there is more than one worker process started by the same parent process
2012-03-05 19:21:43 +11:00
Chaitanya Kuber
951d9d37b5
updated method comments
2012-02-29 22:32:52 -06:00
pedroarnal
0ac835a630
Enabling use of unix sockets on Redis backend.
2012-01-25 00:46:34 +01:00
Salimane Adjao Moustapha
7a7cfbf2b9
fix comment to specify that is an array instead of an object in Resque::push
2011-12-16 10:32:28 +08:00
Salimane Adjao Moustapha
458fd6488b
replace is_object with is_array when reserving jobs since Resque::pop actually returns an array instead of an object
2011-12-08 11:25:15 +08: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
chris.boulton
6f43fcfed8
Add a plugin/event/hook system
2011-03-27 18:42:46 +11: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
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