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
Luis Hdez
70102f1b89
Add control for OS X and cli_set_process_title
2016-03-30 03:15:01 +02:00
Luis Hdez
e4cfc541c9
Fix CS whitespaces
2016-03-30 03:14:15 +02:00
Jonathan André Schweder
47d3c9cbb2
add PHP 7 and HHVM to TravisCI runtime
2016-03-16 08:09:34 -03:00
Jonathan A. Schweder
c08b6f64b7
apply best practice in phpunit.xml file
2016-03-15 08:20:43 -03:00
Chris Boulton
73b62e364a
Merge pull request #287 from jesusch/master
...
removed all closing PHP tags
2016-03-09 13:02:55 -08:00
Bjoern Boschman
b3b1d408e5
removed all closing PHP tags
2016-03-08 12:19:05 +01:00
Rolf Vreijdenberger
0d5cff54ad
should be able to use maxConnectRetries
...
- be able to specify max_connect_retries in the dsn string as part of the query string
2016-01-26 14:54:02 +01:00
Takuya Sato
9c20e44483
return false if json_encode()
failed.
2015-08-26 10:26:48 +09:00
Chris Boulton
df69e8980c
Merge pull request #237 from drahmel/master
...
Added remove_queue command from Resque
2015-05-13 21:58:23 +10:00
Chris Boulton
941d49c659
Merge pull request #246 from elazar/patch-1
...
Corrected type in Resque_Job::$payload docblock
2015-05-13 09:03:06 +10:00
Matthew Turland
570e4a9e55
Corrected type in Resque_Job::$payload docblock
...
The docblock for the $payload property in the Resque_Job class is object, which is inconsistent with the array type used for the corresponding constructor parameter. Other usage of the $payload property, such as in updateStatus(), indicate that array seems to be correct.
2015-05-12 15:07:20 -05:00