Commit Graph

163 Commits

Author SHA1 Message Date
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
Chris Boulton
1310b0661b Merge pull request #99 from rajibahmed/master
Check for installed pcntl extension via composer.json
2013-05-02 20:36:41 -07:00
Chris Boulton
6eafaac7c2 Merge pull request #103 from matteosister/patch-1
Update README.md
2013-05-02 20:35:49 -07:00
Matteo Giachino
24f22c9065 Update README.md
updated link to the new resque repo
2013-04-15 22:53:17 +03:00
Rajib Ahmed
4ff0c51d40 Added PCNTL extension check on composer file 2013-03-27 16:45:05 +01:00
Chris Boulton
72c2afad59 Merge pull request #97 from ruudk/feature-prefix-env
Added a PREFIX environment variable to set the Resque prefix
2013-03-26 08:45:21 -07:00
Ruud Kamphuis
01c291f367 Added a PREFIX environment variable to set the Resque prefix 2013-03-26 13:59:33 +01:00
Chris Boulton
cd85e8be85 Merge pull request #85 from charly22/patch-1
REDIS_BACKEND_DB env variable added
2013-03-06 19:56:25 -08:00
Chris Boulton
4cbf3c08c2 Merge pull request #89 from trimbletodd/master
Adding support for remote redis instances (such as redistogo) that require authentication
2013-03-06 19:55:01 -08:00
Chris Boulton
fff22a6bd5 Merge pull request #88 from lboynton/patch-1
Fix composer example
2013-03-06 19:53:25 -08:00
Chris Boulton
c18b5441f5 Merge pull request #90 from cballou/master
Fixed Resque_Worker logging as it would always output verbose messaging.
2013-02-28 04:57:04 -08:00
Corey Ballou
3b4c46e039 Fixed the Resque_Worker log method to properly handle NORMAL vs VERBOSE logging. 2013-02-21 07:37:16 -05:00
TrimbleTodd
6a429c2f21 adding support for remote redis instances (such as redistogo) that require authentication 2013-02-20 11:41:41 -05:00
Lee Boynton
4b2bbe492b Fix composer example 2013-02-20 16:25:14 +00:00
Chris Boulton
9b45f152ab Merge pull request #82 from JesseObrien/master
Composer Autoload Failure
2013-02-17 21:41:49 -08:00
Carlos Viglietta
afd84de155 REDIS_BACKEND_DB env variable added
It's enable the possibility of use a different db index on redis backend
2013-02-06 12:37:12 -02:00
Jesse O'Brien
762daf9f36 Extra check for vendor 3 folders up.
Failure to check up *3* folders when running the binary from
chrisboulton/php-resque/bin/ results in never finding the autoload
file when it tries to load up the composer dependencies.
2013-01-21 15:50:24 -05:00
Chris Boulton
aae168392c just use built in phpunit on travis ci 2013-01-13 03:02:59 +11: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
f082ec872e remove pecl install 2013-01-13 01:16:19 +11:00
Chris Boulton
ab9195cf19 php-redis is not available via pecl, install using wget (not nice) 2013-01-13 01:15:04 +11:00
Chris Boulton
ac28ca36d5 test with and without phpredis extension 2013-01-13 01:06:32 +11:00
Chris Boulton
b0900d6390 add package suggestions (proctitle and redis extensions) 2013-01-12 23:56:16 +11:00
Chris Boulton
2ba15eb555 replace Redisent with Credis (also adds native phpredis support) 2013-01-12 23:37:38 +11:00
Chris Boulton
a6eb8e1c45 use __DIR__ 2013-01-12 23:07:15 +11:00
Chris Boulton
a77699549b bump php requirement up to 5.3 2013-01-12 23:06:55 +11:00
Chris Boulton
8071b5f847 update changelog 2013-01-12 22:54:42 +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
8d6da21473 restructure tests, use composer to autoload test requirements 2013-01-12 22:01:13 +11:00
Chris Boulton
8a7f11f906 add phpunit as a development requirement 2013-01-12 21:47:07 +11:00
Chris Boulton
e72c31a450 ignore vendor/ 2013-01-12 21:45:06 +11:00
Chris Boulton
723be94788 Merge pull request #80 from danhunsaker/patch-1
Update lib/Resque/Redis.php
2013-01-12 01:18:29 -08:00
Daniel Hunsaker
5127aefa90 Update lib/Resque/Redis.php
Add SETEX to the list of commands which supply a key as the first argument.
2013-01-11 13:40:39 -07:00
Chris Boulton
5fdc3609e9 Merge pull request #77 from atorres757/fix-lost-connection
Fix for lost connection infinite loop
2012-12-28 19:12:02 -08:00
Allen Torres
fdc9f881e8 Reverted changes made from upstream master. 2012-12-28 10:42:16 -05:00
Allen Torres
a5b70a5cbd Added a sleep call for a second before establishing another connection. 2012-12-28 10:39:34 -05:00
Allen Torres
0afb87663f Reverted changes made to upstream master. 2012-12-28 10:33:32 -05:00
Allen Torres
e4f39a6093 Updated Redisent.php to attempt three reconnects to the redis server before giving up. Also supressed fwrite errors. 2012-12-28 09:33:09 -05:00
Chris Boulton
22278424c3 Merge pull request #73 from tonypiper/patch-implement-prefix-removal
implement prefix removal
2012-11-27 02:10:15 -08:00
Tony Piper
7f1cf35a62 implement prefix removel 2012-11-26 15:23:57 +00:00
Allen Torres
f6334bb3b8 Added a check to see if we have args before we attempt to access the first item in the payload args to prevent an undefined index error. 2012-11-01 09:37:06 -04:00
Allen Torres
3955bc8edc Updated recreate method in Resque_Job class to set arguments in the same fashion as getAruments returns them. 2012-11-01 09:28:47 -04:00
Chris Boulton
3314d407eb stop testing on php 5.2 2012-10-13 18:39:43 +11:00
Chris Boulton
0549d6c88a update version to 1.2 2012-10-13 18:28:16 +11:00
Chris Boulton
bf91b4cc6b update contributors 2012-10-13 18:23:06 +11:00
Chris Boulton
d055a7e00b add note about future backwards compatibility 2012-10-13 18:21:20 +11:00
Chris Boulton
8d05f92a22 remove old TODO file 2012-10-13 18:10:53 +11:00
Chris Boulton
aeb0ddcf08 update changelog to mention changes coming to php-resque 2012-10-13 17:59:01 +11:00
Chris Boulton
02141982b1 remove bin/resque, which is empty 2012-10-13 17:58:42 +11:00