Commit Graph

804 Commits

Author SHA1 Message Date
Vladimir Mihailenco ab1e8de9ea Add ability to read client options 2017-03-20 12:15:21 +02:00
Vladimir Mihailenco a16aeec10f Merge pull request #524 from go-redis/fix/nil-state
Don't panic if cluster state is nil.
2017-03-04 14:38:25 +03:00
Vladimir Mihailenco 15998effbe Don't panic if cluster state is nil. 2017-03-04 13:27:34 +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 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
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 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
Vladimir Mihailenco 63bac70a19 Add ZRemRangeByLex. 2017-01-26 15:53:58 +02:00
Vladimir Mihailenco 8829ddcd8b Merge pull request #474 from smacker/clone_and_context
Clone and WithContext #471
2017-01-16 10:01:07 +02:00
Sukharev Maxim b9ab636be4 Context methods only for go1.7+ 2017-01-16 09:57:49 +07:00
Vladimir Mihailenco 6da05abbaa Merge pull request #475 from go-redis/fix/reduce-alloc
Reduce number of allocations.
2017-01-13 13:52:40 +02:00
Vladimir Mihailenco 69554c0ec5 Reduce number of allocations. 2017-01-13 13:39:59 +02:00
Sukharev Maxim 2f247ebe83 Clone and WithContext #471 2017-01-11 10:32:10 +07:00
Vladimir Mihailenco b9cc17bae0 Merge pull request #470 from go-redis/fix/remove-scanner
Remove Scanner in favor of ScanCmd.
2017-01-03 13:06:30 +02:00
Vladimir Mihailenco 10c56cede3 Remove Scanner in favor of ScanCmd. 2017-01-03 12:44:06 +02:00
Vladimir Mihailenco 67acf6e5a4 Merge pull request #469 from go-redis/fix/eval-test
Add Eval test.
2017-01-03 12:33:37 +02:00
Vladimir Mihailenco 7eeb681076 Add Eval test. 2017-01-03 12:21:22 +02:00
Vladimir Mihailenco 8fcba2ea87 Merge pull request #466 from go-redis/fix/client-instrumentation
Fix Client process instrumentation.
2016-12-30 13:17:27 +02:00
Vladimir Mihailenco 3eb7c87040 Update readme. 2016-12-30 13:01:03 +02:00
Vladimir Mihailenco 9556378547 Fix Client process instrumentation. 2016-12-30 12:58:04 +02:00
Vladimir Mihailenco 57efac6c84 Merge pull request #465 from smacker/wrap-process-broken
WrapProcess is broken in v5
2016-12-30 12:45:29 +02:00
Sukharev Maxim 362efb0c49 Test on WrapProcess 2016-12-30 11:50:11 +07:00