Commit Graph

352 Commits

Author SHA1 Message Date
Richard K Miller
62dfa93458 cli_set_process_title() available in PHP 5.5 to set proc title. This is preferred over the PECL function setproctitle(). 2013-09-04 10:30:35 -06:00
Petr Trofimov
10c1d0b75e Resque/Worker: removed reestablishConnection 2013-08-23 12:17:47 +03:00
Alexander Kotynia
03d31830d1 Fix notice for: 'Undefined variable: logger' 2013-08-22 11:32:56 +03:00
Chris Boulton
468f1ce78a Merge pull request #115 from Rockstar04/logging
PSR-3 Compliant Logging
2013-08-15 22:49:33 -07:00
Chris Boulton
b5ce47a8a1 Merge pull request #118 from rajibahmed/master
Add github flavoured syntax highlights on README
2013-08-15 22:45:37 -07:00
Rajib Ahmed
14989b0e9e Remove spaces from README code samples. 2013-07-18 11:51:02 +02:00
Rajib Ahmed
2d4458fbed Add fix to syntax highlights. 2013-07-18 09:57:53 +02:00
Rajib Ahmed
271b584957 Add github style syntax highlights on README file. 2013-07-18 09:53:30 +02:00
Trent Petersen
25a804d93d Convert indentation in the Worker class.... to . . . . tabs
This was painful for me as a PSR 1-2 follower
2013-07-10 10:07:19 -05:00
Chris Boulton
a1cfc292d4 Merge pull request #116 from acinader/master
Doc nit
2013-07-04 01:55:26 -07:00
Arthur Cinader
88f494e7ce Update README.md
Remove redundant use of "include" in documentation
2013-07-03 21:12:10 -07:00
Rockstar04
5cef885a06 Look for a var in the bin/resque script to allow override 2013-06-25 12:10:08 -07:00
Rockstar04
726e58a297 Added basic logging class for a fallback
Corrected unit tests for new code

Add partial unit coverage for logging class

Add newline to logTest file
2013-06-25 12:01:50 -07:00
Rockstar04
7aa9abdb2e Added PSR3 to composer dependencies 2013-06-25 08:56:28 -07: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
Ruud Kamphuis
a0eaac4709 Updated credis dependency to 1.2.* (fixes a bug in blpop) 2013-06-03 18:10:14 +02:00
Ruud Kamphuis
ffff86c40c Fixes bin/resque 2013-06-03 18:09:54 +02:00
Chris Boulton
8346fb825f Merge pull request #111 from ajbonner/docfix
Add type to $queue param in size()'s docblock
2013-06-01 01:25:37 -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
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