Commit Graph

347 Commits

Author SHA1 Message Date
Chris Boulton
1b5441b91e Merge branch 'master' of github.com:chrisboulton/php-resque 2012-04-19 22:30:53 +10:00
Chris Boulton
ad7f4d1ab7 add .travis.yml to run unit tests on travis-ci 2012-04-19 22:30:44 +10:00
ebernhardson
010384b296 unit test to verify fix of Resque_Event::stopListening 2012-04-04 18:27:08 -07: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
016f046a6a Merge branch 'master', remote branch 'upstream/master' 2012-03-22 12:27:43 +08:00
Chris Boulton
ff3fc97958 Merge pull request #49 from ckbigcommerce/master
updated method comments
2012-03-17 00:53:06 -07: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
e6464f4c79 Require Redisent/Redis separately 2012-03-05 20:21:12 +11: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
8259dc7491 update changelog 2012-03-05 19:35:56 +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
6165de49e9 Merge branch 'master' of github.com:chrisboulton/php-resque 2012-03-05 19:22:06 +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
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
7523f9c845 Merge branch 'master' of https://github.com/chrisboulton/php-resque 2012-02-29 23:36:13 -06:00
Chris Boulton
2c5e088198 move include for resque before APP_INCLUDE is loaded in, so that way resque is available for the app 2012-03-01 16:33:26 +11: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
Chris Boulton
4700375d25 Merge pull request #30 from salimane/upstream
replace is_object with is_array when reserving jobs
2011-12-21 16:10:18 -08: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
Chris Boulton
a4e3a07946 Merge pull request #29 from salimane/upstream
fix bug whereby jobs are reserved based on an erroneous payload
2011-12-07 04:06:48 -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
Chris Boulton
45c49cf002 Merge pull request #27 from hlegius/master
Namespace support (prefix)
2011-11-23 13:57:55 -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
4c025119cc Update changelog 2011-09-24 15:42:28 +10:00
Chris Boulton
3514a4f063 Move brace to new line 2011-09-24 15:40:20 +10:00
Chris Boulton
c0cdc3cf68 Merge pull request #24 from d11wtq/bugfix/broken-pipe
Fix a bug where the worker would spin out of control if the redis socket is interrupted
2011-09-23 22:38:23 -07: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
Chris Boulton
700af834b4 Unit tests should not be directly accessing payload[args] now that we have getArguments() 2011-09-16 15:30:36 +10:00
Chris Boulton
ea1ceed742 Merge pull request #21 from realestateconz/master
Ruby resque-web compatibility improvement
2011-09-10 05:28:44 -07: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
2a73e5b390 Update changelog to include details of patrickbajao's modifications to allow setBackend to accept a redis database to use as a second argument 2011-06-14 19:36:29 +10: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
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