Commit Graph

290 Commits

Author SHA1 Message Date
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
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
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
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
Dan Rahmel
44940e84bc Restored whitespace 2015-03-13 15:36:24 -07:00
Dan Rahmel
f29e09d68b Added remove_queue command from Resque 2015-03-13 14:49:30 -07:00
Chris Boulton
eb7ab0c81a Merge pull request #235 from magnusp/master
Resolves chrisboulton/php-resque#145
2015-03-12 22:06:59 +11:00
Magnus Persson
5aed917f72 Resolves chrisboulton/php-resque#145 2015-03-11 23:41:12 +01:00
Chris Boulton
a8322cd4e7 Merge pull request #212 from chrisboulton/beforeEnqueue
Add beforeEnqueue hook
2015-02-04 10:56:54 -08:00
Chris Boulton
1d24d009f2 Merge pull request #223 from theaxel/master
Fix dequeueing with args
2015-02-02 12:34:14 -08:00
Chris Boulton
0c39e2ca7a ensure false is returned when DontCreate is thrown 2015-02-02 12:30:40 -08:00
Chris Boulton
8007705221 return false when job creation is cancelled by beforeEnqueue 2015-02-02 12:29:26 -08:00
Chris Boulton
2308c3ced4 update phpdoc 2015-02-02 12:29:26 -08:00
Chris Boulton
e815c687f1 update changelog 2015-02-02 12:29:26 -08:00
Chris Boulton
a95c24b32e add beforeEnqueue hook that allows the enqueue to be cancelled 2015-02-02 12:29:24 -08:00
Axel K.
6cda08de25 #218 Remove item from queue as well when args match 2014-11-10 15:38:58 +01:00
Axel K.
226ec33bb0 Test for asserting that correct items get dequeued when args are provided 2014-11-10 15:33:42 +01:00
Dayson Pais
2c8b215cda Implicitly type cast exception while logging.
Removed the unnecessary (string) type-casting.
2014-11-08 15:11:20 +05:30
Chris Boulton
c335bc3555 Merge pull request #214 from bc-vincent-zhao/allow-callable-redis-setup
Allows a callable to be passed to Resque::setBackend for setting the redis instance
2014-09-25 12:24:50 +10:00
vincent zhao
bc9dac71ca Allows a callable to be passed to Resque::setBackend for setting Resque:: 2014-09-25 10:31:09 +10:00
Chris Boulton
f14e844c45 Merge pull request #211 from wedy/dequeue
ability to dequeue jobs of specific queue
2014-09-24 13:03:06 +10:00
Wedy Chainy
29e37784cd Alter dequeue - now accepting 'args' and "ID" arguments 2014-09-23 09:42:31 +10:00
Wedy Chainy
4a97c14628 dequeue 2014-09-22 16:17:16 +10:00
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