Commit Graph

2369 Commits

Author SHA1 Message Date
Vladimir Mihailenco 15998effbe Don't panic if cluster state is nil. 2017-03-04 13:27:34 +02:00
Vladimir Mihailenco bb270e3277 Merge branch 'v5' 2017-03-04 11:02:50 +02:00
Vladimir Mihailenco e90826e4c6 Merge pull request #523 from go-redis/fix/timer
Fix wrong usage of timer Reset(), which could cause service frozen during master switch.
2017-03-04 12:02:13 +03:00
yuekui 216ec11a0e Fix wrong usage of timer Reset(), which could cause service frozen during master switch. 2017-03-04 10:53:10 +02:00
Vladimir Mihailenco 0cf11daba2 Merge branch 'v5' 2017-03-03 15:15:29 +02:00
Vladimir Mihailenco 7849e1fac4 Merge pull request #519 from flisky/v5
StringCmd: remove an unnessary type casting
2017-03-03 16:14:34 +03:00
Yin Jifeng 518c105169 StringCmd: remove an unnessary type casting
this fixes up 69554c0e
2017-03-01 22:41:18 +08:00
Vladimir Mihailenco 51564b7fd1 Merge pull request #514 from fiatjaf/patch-1
Mention SETEX in the documentation.
2017-02-25 16:44:47 +03:00
Giovanni T. Parra d9f1dc2386 Mention SETEX in the documentation.
To help people looking for it specifically.
2017-02-24 22:01:11 -03:00
Ichinose Shogo b8fb4a1150 the timeout of WAIT command is in milliseconds. 2017-02-24 12:02:48 +02:00
Vladimir Mihailenco cbad034630 Merge pull request #512 from shogo82148/fix-wait-timeout
the timeout of WAIT command is in milliseconds.
2017-02-24 13:01:17 +03:00
Ichinose Shogo 892fb8d573 the timeout of WAIT command is in milliseconds. 2017-02-24 18:03:21 +09:00
Vladimir Mihailenco c86c141c38 Use simple PING for compatibility 2017-02-23 15:38:00 +02:00
Vladimir Mihailenco fe9d145e7c Merge pull request #511 from go-redis/fix/simple-ping
Use simple PING for compatibility
2017-02-23 16:37:17 +03:00
Vladimir Mihailenco 58e9c55d8e Use simple PING for compatibility 2017-02-23 15:29:38 +02:00
Vladimir Mihailenco 6dfa30adb8 Merge pull request #510 from go-redis/fix/unused-var
internal/pool: remove unused var
2017-02-23 16:25:28 +03:00
Vladimir Mihailenco 50f5210780 internal/pool: remove unused var 2017-02-23 15:19:43 +02:00
Vladimir Mihailenco a6984fdb4c Merge pull request #509 from go-redis/fix/universal-client
Expose Process on UniversalClient
2017-02-23 16:06:50 +03:00
Dimitrij Denissenko f605e59ade Expose Process on UniversalClient 2017-02-21 12:13:25 +00:00
Vladimir Mihailenco 12c49831d7 Merge pull request #499 from go-redis/feature/multi-redis
Added support for multi-client
2017-02-21 13:20:22 +03:00
Dimitrij Denissenko 271ccda187 Update import 2017-02-20 14:13:02 +00:00
Dimitrij Denissenko 30412d7652 Added support for universal client 2017-02-20 10:46:22 +00:00
Vladimir Mihailenco 43b61bd319 Merge pull request #507 from go-redis/fix/update-readme
readme: remove gopkg.in
2017-02-19 11:07:07 +03:00
Vladimir Mihailenco c7a6d68f33 readme: remove gopkg.in 2017-02-19 09:56:12 +02:00
Vladimir Mihailenco 8040d63c4f Remove gopkg.in 2017-02-19 09:49:21 +02:00
Vladimir Mihailenco d95ce53b0d Replace Exists with ExistsMulti. 2017-02-19 09:49:21 +02:00
Vladimir Mihailenco 56ddaf1199 Fix HMSet to accept interface{} value. 2017-02-19 09:49:21 +02:00
Vladimir Mihailenco 135cb12c76 Merge pull request #506 from go-redis/fix/separate-buffer
Separate read and write buffers for PubSub.
2017-02-19 10:48:52 +03:00
Vladimir Mihailenco 6b6f5ca133 Separate read and write buffers for PubSub. 2017-02-19 09:42:45 +02:00
Vladimir Mihailenco a40c8d17fe Merge pull request #502 from go-redis/fix/go14-build
Fix Go 1.4 build.
2017-02-18 13:33:56 +03:00
Vladimir Mihailenco c2156b59f3 Fix Go 1.4 build. 2017-02-18 12:28:01 +02:00
Vladimir Mihailenco 59a96d9d86 Merge pull request #501 from go-redis/feature/scan-slice
Feature/scan slice
2017-02-18 13:17:55 +03:00
Vladimir Mihailenco 335956cc9a Cleanup code a bit. 2017-02-18 12:10:47 +02:00
Back Yu 681a1fe646 Add ScanSlice. 2017-02-18 11:49:01 +02:00
Nate Bosscher 6b8c6b3fe9 Added implementation for WAIT command
Reference: https://redis.io/commands/wait
2017-02-18 11:42:06 +02:00
Vladimir Mihailenco 9405576413 Merge pull request #496 from eyalpost/pubsub_test_fix
ensure wait.done to avoid deadlock in test
2017-02-16 12:09:38 +03:00
eyalpost 5de14cbf58 ensure wait.done to avoid deadlock in test 2017-02-15 17:15:24 +02:00
Vladimir Mihailenco 0cd35295e6 Merge pull request #491 from eyalpost/MultiExec
Support for multi keys in Exists
2017-02-11 13:18:35 +02:00
Eyal Post 7c0cf90fb8 Support for multi keys in Exists 2017-02-10 12:15:25 +02:00
Vladimir Mihailenco 11fcb018f3 Merge pull request #488 from eyalpost/v5
ObjectRefCount and ObjectEncoding accept one key
2017-02-10 11:12:48 +02:00
Eyal Post 4cbe497190 ObjectRefCount and ObjectEncoding accept one key 2017-02-10 00:32:52 +02:00
Vladimir Mihailenco 2fe9c5cc0a Merge pull request #486 from go-redis/fix/pubsub-receive
Fix ReceiveMessage to work without any subscriptions.
2017-02-08 14:28:34 +02:00
Vladimir Mihailenco ce4fd8b677 Fix ReceiveMessage to work without any subscriptions. 2017-02-08 14:15:32 +02:00
Vladimir Mihailenco ba0b485159 Merge pull request #482 from go-redis/fix/defer-order
Fix defer order.
2017-01-28 11:10:00 +02:00
Vladimir Mihailenco 308ebee457 Fix defer order. 2017-01-28 10:53:10 +02:00
Vladimir Mihailenco 9cd4965689 Merge pull request #481 from go-redis/fix/go18-tests
Fix error message for Go 1.8.
2017-01-26 16:42:46 +02:00
Vladimir Mihailenco 8ddd2beaee Fix error message for Go 1.8. 2017-01-26 16:34:09 +02:00
Vladimir Mihailenco 3b87351e3f Merge pull request #480 from go-redis/fix/object-idle-time
ObjectIdleTime accepts one key.
2017-01-26 16:15:58 +02:00
Vladimir Mihailenco a8345871dc Merge pull request #479 from go-redis/fix/zremrangebylex
Add ZRemRangeByLex.
2017-01-26 16:10:34 +02:00
Vladimir Mihailenco 3fa2fb8dc0 ObjectIdleTime accepts one key. 2017-01-26 15:59:49 +02:00