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
scragg0x
a8a7db51ca
Disable autoload for the class_exists func
...
I ran into an autoload problem because of this class_exists function.
So I set the second arg to false to prevent it from calling __autoload.
It doesn't make sense to try (to autoload) anyway because it's going to
declare a skeleton if the class doesn't exist.
2012-09-07 13:36:15 -05:00
Matt Heath
5b89607e4b
Fix issue #19 by ensuring RedisException is not redeclared
2012-05-10 15:01:00 +01:00
Chris Boulton
b0fbfa4f15
make the queue for an enqueued job available in the afterEnqueue event
2012-05-10 22:13:28 +10:00
ebernhardson
fab92ef114
fix bug preventing stopListening from working
2012-04-04 18:13:07 -07:00
Chaitanya Kuber
76c06a1349
now setting the queue name onto the job instance
2012-03-22 12:27:43 +08: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
6651f957f1
Merge branch 'master' of github.com:chrisboulton/php-resque
2012-03-05 19:41:47 +11: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
37e148b23c
Merge pull request #42 from salimane/upstream
...
Avoid working with dirty worker ids
2012-03-05 00:33:47 -08: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
3b59fa5dbc
method comment changes
2012-03-01 19:21:58 -06:00
Chaitanya Kuber
ef859b6fc5
updated method comments
2012-03-01 19:21:06 -06:00
Chaitanya Kuber
8f06294048
method comments updated
2012-03-01 19:13:34 -06:00
Chaitanya Kuber
951d9d37b5
updated method comments
2012-02-29 22:32:52 -06:00
pedroarnal
782d0317e6
Update lib/Resque/Redis.php
2012-02-18 17:10:06 +01:00
Salimane Adjao Moustapha
5b24b471dc
avoid working with dirty worker ids
2012-02-02 16:06:00 +08: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
Chris Boulton
cd47df2458
Merge pull request #18 from humancopy/master
...
A small fix for a small bug with __autoload and class_exists :)
2011-12-07 04:07:42 -08:00
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
humancopy
c52bcc8af7
Re-enable autoload for class_exists in Job.php
2011-11-02 11:59:33 +01:00
humancopy
599295ef9c
Merge branch 'master' of git://github.com/chrisboulton/php-resque
2011-10-23 09:47:33 +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
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