Commit Graph

382 Commits

Author SHA1 Message Date
Ruud Kamphuis
bfbff5e58e Unit tests pass 2013-05-29 09:29:24 +02:00
Ruud Kamphuis
f379d3a36d Fixed unit test 2013-05-29 09:17:06 +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
e541fa9b70 Added test for blpop 2013-05-29 09:14:17 +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
Chris Boulton
37cdec8e11 Merge pull request #107 from danhunsaker/feature-queue-failure
Added enqueue failure detection
2013-05-28 18:19:01 -07: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
Chris Boulton
b31830c0bf when testing job recreation, compare the results of ->getArguments() 2013-05-12 15:40:35 +10:00
Chris Boulton
2700956e73 Merge pull request #104 from CyrilMazur/master
Fixed $args in the Job::recreate method
2013-05-11 22:13:11 -07:00
Chris Boulton
3f5937a5f8 test against version 2.2.3 of phpredis 2013-05-12 14:55:20 +10: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
CyrilMazur
e4ea683def Update Job.php
Previous code was encapsulating $args in an additional array, and thus breaking the new job $args.
2013-04-16 13:07:03 -03: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
Ruud Kamphuis
66fec608a1 Fixed unit test 2013-03-13 13:03:19 +01: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
ff0d2bc655 Added test for blpop 2013-03-12 09:55:03 +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
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