Commit Graph

346 Commits

Author SHA1 Message Date
Chris Boulton
e393d5672c Merge pull request #213 from wedy/turn-on-redis-rename-cmd
Turn on redis command 'rename'
2014-09-22 16:12:40 +10:00
Wedy Chainy
98fde571db Turn on redis command 'rename' 2014-09-19 21:29:53 +10:00
Chris Boulton
80d1c4be19 Merge pull request #208 from sasezaki/patch-1
add PHP 5.5, 5.6 to .travis.yml
2014-09-07 17:23:16 +10:00
kazusuke sasezaki
295ec7d68a add PHP 5.5, 5.6 to .travis.yml 2014-08-29 00:56:23 +09:00
Chris Boulton
e1e40494a0 Merge pull request #206 from bc-vincent-zhao/add-enqueque-time
add an enqueued timestamp to the job payload
2014-08-08 15:08:53 +10:00
vincent zhao
006d7502d9 add an enqueued timestamp to the job payload 2014-08-08 10:25:40 +10:00
Chris Boulton
f7e9e8b7b1 Merge branch 'master' of github.com:chrisboulton/php-resque 2014-06-26 21:04:08 +10:00
Chris Boulton
bcfd6b79f7 update composer.lock 2014-06-26 21:03:46 +10:00
Chris Boulton
055587abf0 Merge pull request #158 from ruudk/default-logger
Set Resque_Log in constructor
2014-06-26 21:00:42 +10:00
Chris Boulton
1517d45904 Merge branch 'master' of github.com:chrisboulton/php-resque 2014-06-26 19:19:16 +10:00
Chris Boulton
3cca6312ca update changelog and contributors docs 2014-06-26 19:19:04 +10:00
Chris Boulton
4442e1b2f1 Merge pull request #186 from iskandar/dsn-normalization
DSN and REDIS_BACKEND normalization
2014-06-26 19:14:43 +10:00
Chris Boulton
210f0a464d Merge pull request #198 from tburry/master
Make the credis requirements less strict.
2014-06-26 19:09:48 +10:00
Chris Boulton
51524e8ebc update changelog 2014-06-26 19:09:31 +10:00
Chris Boulton
0327217907 call beforePerform before retrieving an instance of the job class 2014-06-26 19:07:52 +10:00
Todd Burry
40d2ec8c77 Make the credis requirements less strict.
Since credis has moved forward, but is backwards compatible, resque
shouldn’t be so strict towards an old version because other libraries
need newer credis features.
2014-06-23 08:20:23 -04:00
Dayson Pais
760e38c0ef Fixed syntax error 2014-05-26 22:01:49 +05:30
Dayson Pais
b242280ecd Removed erroneously introduced character. 2014-05-26 21:53:28 +05:30
Dayson Pais
65288538e3 More verbose logging if a Job throws an exception
Presently, the logger just logs the primary error message with no stack trace of additional debugging information. Type casting the exception to a string gives a much efficient output  and enables better debugging.
2014-05-26 17:16:19 +05:30
Iskandar Najmuddin
3b074a046a Revert file modes back to 644 2014-05-05 17:48:47 +00:00
Iskandar Najmuddin
76412df8fd Fix return array format of bogusDsnStringProvider 2014-05-05 15:30:36 +00:00
Iskandar Najmuddin
b0385d2959 Add comment describing REDIS_BACKEND format to bin/resque 2014-05-05 15:11:20 +00:00
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
jingyu liu
8ccc31632a repair PHP Notice, on line 17
when run <php queue.php PHP_Job>, it has a PHP Notice.
I think it's right command <php queue.php default PHP_Job>.
2013-12-06 14:14:57 +08: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