Commit Graph

327 Commits

Author SHA1 Message Date
Chris Boulton
cf187fae52 Merge pull request #314 from sapolang/master
bin/resque 99行pid变量缺少一个$
2016-11-03 14:56:00 -07:00
lixiangyang
7c9c18352c bin/resque 缺少一个$ 2016-10-24 13:53:58 +08:00
Chris Boulton
a03f00f2a0 Merge pull request #313 from petrkotek/petrkotek-patch-1
Resque_Redis: use `&&` rather than `and`
2016-10-20 17:00:54 -05:00
Petr Kotek
b054df780f Resque_Redis: use && rather than and 2016-10-20 23:58:23 +02:00
Chris Boulton
3c5dac8789 Merge pull request #311 from sergeyklay/patch-1
[Travis] Test on PHP 7.1
2016-10-20 16:42:31 -05:00
Serghei Iakovlev
6728b2e78f [Travis] Test on PHP 7.1 2016-10-16 18:54:44 +03:00
Chris Boulton
9ab96deb4a Merge pull request #307 from chrisboulton/credis-bump
Bump credis to 1.7
2016-10-16 08:50:52 -07:00
Chris Boulton
3b676e8d6a bump credis to 1.7 2016-10-15 02:12:35 -07:00
Chris Boulton
e023b7a75e Merge pull request #310 from chrisboulton/fix-connection-hhvm
Use a mock to test correct redis exceptions are surfaced
2016-10-15 02:12:15 -07:00
Chris Boulton
8113e624c4 use a mock to test correct redis exceptions are surfaced 2016-10-15 01:50:45 -07:00
Chris Boulton
5246a84868 Merge pull request #309 from danhunsaker/suggest/matrix-exclude
Use Matrix Exclude instead of hard-coded matrix
2016-10-15 01:14:44 -07:00
Dan Hunsaker
4b10ae4863 Use Matrix Exclude instead of hard-coded matrix
While the current .travis.yml setup works, and the reasoning makes sense, it's far less readable than the previous configuration.  This suggested patch presents an alternative approach to the same result, which uses the matrix->exclude array to filter out invalid tests, instead of hard-coding every valid combination as the current file does.  This seems more readable, at least to me.
2016-10-14 21:01:51 -06:00
Chris Boulton
599dc4c8be Merge pull request #306 from chrisboulton/php-versions
Remove old PHP versions from test matrix, require PHP 7 and HHVM to pass as these are now officially supported
2016-10-14 17:01:29 -07:00
Chris Boulton
6b560798c4 Merge pull request #229 from chrisboulton/exceptions
Surface Redis exceptions instead of silently returning false
2016-10-14 16:36:10 -07:00
Chris Boulton
8989564468 enable redis extension on supported php versions 2016-10-14 15:49:33 -07:00
Chris Boulton
2e24b5308f don't test against php 5.3, 5.4, 5.5. don't allow failures on php7 and hhvm 2016-10-14 15:26:02 -07:00
Chris Boulton
b1911f6867 maintain previous credis exception when throwing redis exceptions from resque 2016-10-14 15:03:18 -07:00
Chris Boulton
af570212b3 add Resque_RedisException 2016-10-14 15:03:18 -07:00
Chris Boulton
81cb92b964 throw Resque_RedisException whenever an errror connecting/talking to redis occurs 2016-10-14 15:03:17 -07:00
Chris Boulton
ee9f133bf9 Merge pull request #303 from serroba/BIG-28720
Allowing to use a factory instead of manually instantiate the Jobs
2016-10-14 14:56:45 -07:00
Sebastian Machuca
be19e12c31
Making the factory the default layer to construct jobs 2016-10-14 14:41:19 +11:00
Sebastian Machuca
df20186c37
Convert spaces to tabs 2016-10-13 14:45:02 +11:00
Sebastian Machuca
8f542e5035
Making the factory responsible to set the arguments and the queue 2016-10-12 19:22:31 +11:00
Chris Boulton
e9a202c8fd Merge pull request #305 from sergeyklay/patch-1
Update Readme.md [ci skip]
2016-10-11 15:01:36 -07:00
Serghei Iakovlev
59ae24d0b5 Update Readme.md [ci skip] 2016-10-12 00:51:55 +03:00
Chris Boulton
c928347ae7 Merge pull request #299 from chrisboulton/fork-return
Return false if the fork function is unavailable
2016-10-11 13:10:59 -07:00
Chris Boulton
e684d19d4f Merge pull request #152 from liujingyu/patch-1
repair PHP Notice, on line 17
2016-10-11 12:17:22 -07:00
Chris Boulton
3cead7dbb6 Merge pull request #226 from andrewbrereton/patch-1
gethostname() doesn't work on Amazon's EC2
2016-10-11 12:11:19 -07:00
Chris Boulton
eba6ef55e7 abort bin/resque when managing multiple workers and pcntl_fork is unavailable 2016-10-11 12:08:54 -07:00
Chris Boulton
5de9073562 Merge pull request #298 from lauripiisang/patch-1
Add support for unprotected unix socket
2016-10-11 12:04:47 -07:00
Chris Boulton
d341f11254 Merge pull request #304 from TeachersPayTeachers/master
Allow empty prefix
2016-10-11 12:00:39 -07:00
Keyan Pishdadian
ae308ff1fd Allow empty prefix 2016-10-07 18:31:06 -04:00
Sebastian Machuca
de22db6826
Making it compatible with PHP < 5.5
Making the factory receive the classname
2016-10-06 16:07:16 +11:00
Sebastian Machuca
7d2ce1bc8b
BIG-28720 Allowing to use a factory instead of manually instantite the Jobs 2016-10-06 12:54:41 +11:00
lauripiisang
da9d780db1 Return false for 'database' section of unix DSNs
This seems to be the expected default value
2016-08-29 18:17:04 +03:00
Chris Boulton
15a14d8a86 Merge pull request #297 from tembem/master
Fix typo in readme file
2016-08-15 19:02:21 -07:00
Chris Boulton
4dbdda6aa2 return false if the fork function is unavailable 2016-08-15 19:01:32 -07:00
Chris Boulton
08de86a41e Merge pull request #197 from epicwhale/patch-1
More verbose logging if a Job throws an exception
2016-08-15 18:42:37 -07:00
Chris Boulton
be9ef1b92b Merge pull request #268 from nazo/master
return false if `json_encode()` failed.
2016-08-15 18:38:16 -07:00
lauripiisang
4b85638ccf Add support for unprotected unix socket
- You can now provide a unix socket based redis connection: 
   - `Resque::setBackend('unix:///path/to/redis.sock')`
 - username/password/db in unix socket dsn currently unsupported: 
   - This middle layer for Dsn parsing seemed too clunky for me to introduce user/pass/db parsing for unix sockets.
2016-08-15 16:33:18 +03:00
Jimmy Chandra
2d6f29f637 Fix typo in readme file 2016-08-09 20:13:21 +07:00
Chris Boulton
6273fdd193 Merge pull request #296 from ruudk/patch-1
POSIX signals are not working on PHP 7
2016-08-08 13:25:27 -07:00
Ruud Kamphuis
91caca7921 Move declare(ticks = 1) to top 2016-08-03 20:40:30 +02:00
Ruud Kamphuis
16f88a6a38 Move declare(ticks = 1) to startup
Having declare(ticks = 1) inside registerSigHandlers() worked perfectly on PHP 5.6 but it doesn't on PHP 7.

I found it that moving the declare(ticks = 1) outside registerSigHandlers() solves the issue.
2016-08-03 17:07:52 +02:00
Chris Boulton
ab07fda51c Merge pull request #290 from luishdez/master
Fix OSX worker warning and cli_set_process_title
2016-07-14 18:21:10 +10:00
Chris Boulton
a210557c59 Merge pull request #292 from dwercn/master
fixed ‘../bin/resque.php’ to '../bin/resque'
2016-07-14 17:32:13 +10:00
Chris Boulton
fe04cca530 Merge pull request #285 from donkeyworks/master
should be able to use maxConnectRetries
2016-07-14 17:28:49 +10:00
Chris Boulton
55482b8a22 Merge pull request #288 from jaschweder/master
apply best practice in phpunit.xml file
2016-07-14 17:27:52 +10:00
Chris Boulton
a9331ecc4d Merge pull request #289 from jaschweder/patch-1
add PHP 7 and HHVM to TravisCI runtime
2016-07-14 17:27:30 +10:00
dewei
781483bc83 fixed ‘../bin/resque.php’ to '../bin/resque' 2016-04-13 09:26:04 +08:00