Commit Graph

273 Commits

Author SHA1 Message Date
Iskandar Najmuddin
506b769b90 Make parseDsn() method static, remove unused member vars 2014-05-05 15:08:00 +00:00
Iskandar Najmuddin
62ed620083 Put 'else' keyword on new line in keeping with project conventions 2014-05-05 15:00:20 +00:00
Iskandar Najmuddin
d1d2b3b354 Test for 'false' database value when not found in DSN 2014-05-05 14:55:01 +00:00
Iskandar Najmuddin
1abbad3f5e Improve comments and readability 2014-05-05 14:47:43 +00:00
Iskandar Najmuddin
ad33efbc67 Improve Resque_Redis DSN parsing.
- Allow for DSN URIs to work as expected.
- Backward-compatible with simple 'host:port' format.
- Does not parse DSNs provided in array format for Credis_Cluster.
2014-05-05 13:02:16 +00:00
Ruud Kamphuis
aeabb5bb20 Constructor on top with default logger 2013-12-20 12:24:24 +01:00
Ruud Kamphuis
cdc5c3f357 Set Resque_Log in constructor 2013-12-20 12:21:52 +01:00
Chris Boulton
610c4dcdbf Merge pull request #154 from danhunsaker/readme/howitworks
Created HOWITWORKS; cleanup of README
2013-12-13 02:27:28 -08:00
Daniel Hunsaker
3a62e47f16 Created HOWITWORKS; cleanup of README
Addresses a request from @chrisboulton in GitHub issue #149

Slight grammar cleanup and content update in README.md
Mention of HOWITWORKS.md in README.md, referring those who want to know more that direction
Expanded and slightly cleaner version of a comment made in #149 that prompted this commit/PR
   was placed in HOWITWORKS.md

Signed-off-by: Daniel Hunsaker <danhunsaker@gmail.com>
2013-12-07 00:43:29 -07:00
Chris Boulton
02809d6632 Merge pull request #141 from lboynton/patch-2
Fixed incorrect link to credis GitHub page
2013-12-03 03:17:34 -08:00
Chris Boulton
e1872cca39 Merge pull request #143 from HRMWeb/after-enqueue-callback-token
Added token as an argument to the afterEnqueue callback
2013-12-03 03:16:51 -08:00
Chris Boulton
d2c3249c7e Merge pull request #147 from benjisg/patch-1
Fixes the examples for using VERBOSE and VVERBOSE
2013-12-03 03:15:36 -08:00
Benji
b7e3ee5221 Fixes the examples for using VERBOSE and VVERBOSE
The example for the VERBOSE and VVERBOSE options would throw a 'command not found' error when attempting to use it in the same manner as it was originally documented.
2013-11-24 17:27:36 -08:00
Michael Alexander
f91352d810 Renamed references of token to id. 2013-11-18 10:02:03 +11:00
Michael Alexander
6d8cd501b7 Added token as an argument to the afterEnqueue callback 2013-11-12 13:11:48 +11:00
Lee Boynton
473d610a27 Fixed incorrect link to credis GitHub page 2013-11-04 11:58:23 +00:00
Chris Boulton
b0843f4dba Merge pull request #126 from Olden/bug/logger
Fix notice for: 'Undefined variable: logger'
2013-09-06 18:04:56 -07:00
Chris Boulton
b3c93367e8 Merge pull request #127 from ptrofimov/bug/establishConnection
Resque/Worker: removed reestablishConnection
2013-09-06 18:04:18 -07:00
Chris Boulton
7f2cba1553 Merge pull request #131 from richardkmiller/updateProcLine-php5.5
Let Resque_Worker::updateProcLine() use PHP 5.5's cli_set_process_title() if available
2013-09-06 18:03:51 -07:00
Richard K Miller
9335ef51b4 fix spaces that should be tabs 2013-09-04 16:12:12 -06:00
Richard K Miller
6ed8fc048f refactor process title to keep it DRY 2013-09-04 12:29:38 -06:00
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