Commit Graph

35 Commits

Author SHA1 Message Date
Daniel Mason
1b044f2b7d Passing pipelines 2018-05-25 20:52:20 +12:00
Daniel Mason
c862009505 Enable redis server in travis for testing 2018-05-25 19:53:55 +12:00
Daniel Mason
ae84530132 - Reformatted files to PSR2 standard
- Removed credis for native phpredis
- Tidied up some docs
- Setting up new travis.ci build
2018-05-25 19:26:54 +12:00
Petr Kotek
b054df780f Resque_Redis: use && rather than and 2016-10-20 23:58:23 +02:00
Chris Boulton
8113e624c4 use a mock to test correct redis exceptions are surfaced 2016-10-15 01:50:45 -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
81cb92b964 throw Resque_RedisException whenever an errror connecting/talking to redis occurs 2016-10-14 15:03:17 -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
Keyan Pishdadian
ae308ff1fd Allow empty prefix 2016-10-07 18:31:06 -04: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
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
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
Magnus Persson
5aed917f72 Resolves chrisboulton/php-resque#145 2015-03-11 23:41:12 +01: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
Wedy Chainy
98fde571db Turn on redis command 'rename' 2014-09-19 21:29:53 +10:00
Iskandar Najmuddin
3b074a046a Revert file modes back to 644 2014-05-05 17:48:47 +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
b8f98eecd2 WIP 2013-05-29 09:14:18 +02:00
Ruud Kamphuis
4d5552867a Basic support for blocking list pop 2013-05-29 09:14:17 +02:00
TrimbleTodd
6a429c2f21 adding support for remote redis instances (such as redistogo) that require authentication 2013-02-20 11:41:41 -05:00
Chris Boulton
2ba15eb555 replace Redisent with Credis (also adds native phpredis support) 2013-01-12 23:37:38 +11:00
Chris Boulton
a6eb8e1c45 use __DIR__ 2013-01-12 23:07:15 +11:00
Daniel Hunsaker
5127aefa90 Update lib/Resque/Redis.php
Add SETEX to the list of commands which supply a key as the first argument.
2013-01-11 13:40:39 -07:00
Tony Piper
7f1cf35a62 implement prefix removel 2012-11-26 15:23:57 +00:00
Chris Boulton
c908109a74 Remove silly copyright line in docblock comments, update email address, remove copyright year because it is boring to maintain 2012-10-13 17:55:41 +11:00
pedroarnal
782d0317e6 Update lib/Resque/Redis.php 2012-02-18 17:10:06 +01:00
Chris Boulton
cd47df2458 Merge pull request #18 from humancopy/master
A small fix for a small bug with __autoload and class_exists :)
2011-12-07 04:07:42 -08:00
Hélio Costa e Silva
016a7a13fd Added support of Redis prefix (namespaces) 2011-11-22 14:55:40 -02:00
humancopy
cd3b0cca0e Set autoload to false for 'class_exists' calls. Currently it is not set, so the default is true which causes any defined '__autoload' function in the included app to be called. 2011-05-18 18:34:29 +02:00
Chris Boulton
cb4205d508 Initial commit 2010-04-18 23:58:43 +10:00