1
0
mirror of https://github.com/redis/go-redis.git synced 2025-06-14 01:21:30 +03:00
Commit Graph

2646 Commits

Author SHA1 Message Date
38381402f6 FIX: WATCH example stack protection (with retry count) + comment transaction steps. 2018-12-19 21:57:44 +01:00
7f89fbac80 Merge pull request #936 from go-redis/fix/retry-cluster-pipeline-read-cmds
Retry cluster pipeline read commands
v6.15.0
2018-12-17 16:16:01 +02:00
6ff343b69f Merge pull request #932 from theodesp/master
Add Client Unblock
2018-12-15 10:01:56 +02:00
b5aefa2f6a ClientUnblock + ClientUnblockWithError 2018-12-14 14:46:15 +00:00
10edc85b67 Retry cluster pipeline read commands 2018-12-13 13:27:41 +02:00
45a00fd91a Merge pull request #935 from go-redis/fix/load-state-when-there-is-none
clusterStateHolder.Get should load a state when there is none
2018-12-13 13:15:37 +02:00
382feca784 clusterStateHolder.Get should load a state when there is none 2018-12-13 12:41:58 +02:00
1c2f271afc Merge pull request #924 from rvolosatovs/feature/xgroup
xgroup: Add XGroupCreateMkStream
2018-12-13 11:09:58 +02:00
f18a97fc94 Increase timeout 2018-12-13 11:06:27 +02:00
29e07c1098 Merge pull request #934 from go-redis/fix/rm-limiter-copy
Remove limiter copy
2018-12-13 10:49:30 +02:00
9409a4baf0 Remove limiter copy 2018-12-13 10:31:02 +02:00
c6bf37c653 Add Client Unblock 2018-12-11 20:26:48 +00:00
c9555c4277 xgroup: Add XGroupCreateMkStream 2018-12-11 15:52:46 +01:00
11cf9400d5 Consistent naming 2018-12-11 13:17:41 +02:00
0e62f5ec35 Merge pull request #929 from theodesp/master
Add Client Id
2018-12-11 13:15:35 +02:00
2672a0fbf2 Add Client Id 2018-12-11 10:43:54 +00:00
1d1269e0cf Merge pull request #884 from go-redis/feature/limiter
Add Limiter interface
2018-11-29 11:21:03 +02:00
0604be51df Fix build 2018-11-29 11:09:11 +02:00
6c3e78d03f travis: remove Go 1.7 and Go 1.8 2018-11-29 10:06:51 +02:00
5d8c5c5c37 Add Limiter interface 2018-11-29 09:52:49 +02:00
6116387106 Merge pull request #915 from robmccoll/patch-1
Add godoc about Receive call after Subscribe
2018-11-29 09:49:07 +02:00
a47799f02c doc: add info about Receive call after Subscribe 2018-11-27 16:13:30 -05:00
8238d9a027 Merge pull request #913 from go-redis/fix/rm-consistent-check
Remove Redis Cluster state check
2018-11-24 13:32:57 +02:00
17e8439f2f Remove Redis Cluster state check 2018-11-24 13:16:21 +02:00
78a66f0e5f Merge pull request #908 from go-redis/fix/redis-cluster-fixes
Fix corner cases and a bug
2018-11-21 12:26:15 +02:00
4d5a8b91ad Fix tests 2018-11-21 11:16:25 +02:00
18e7a81047 Fix corner cases and a bug 2018-11-21 10:49:30 +02:00
effc0c507a Merge pull request #900 from N-o-X/master
Add support for XDEL
2018-11-13 15:19:00 +02:00
3a019aa681 Add support for XDel 2018-11-13 13:23:59 +01:00
0064936c5b Cleanup 2018-11-11 12:13:00 +02:00
5c041b4083 Merge pull request #899 from fanatic/master
Cleanup sentinel pubsub on close
2018-11-11 12:07:00 +02:00
7fa8fdf3e7 Cleanup sentinel pubsub on close
Currently, the pubsub connection is aggressively disconnected when we close the upstream client which causes it to log something like:

redis: 2018/11/09 09:10:07 pubsub.go:151: redis: discarding bad PubSub connection: read tcp 127.0.0.1:61025->127.0.0.1:26378: use of closed network connection

This change simply cleans up the connection on close.  

We create new redis servers and connections for each set of independent tests and the logs were getting spammy.
2018-11-09 09:32:22 -05:00
58f22c56fd Change ZWithKey 2018-11-03 12:07:25 +02:00
6809e07fd3 Merge pull request #893 from rvolosatovs/feature/bzpop
Implement BZPop{Min,Max}
2018-11-03 11:53:11 +02:00
8527f5907e Implement BZPop{Min,Max} 2018-11-02 18:07:01 +01:00
b3d9bf10f6 Merge pull request #890 from go-redis/fix/close-nil-sentinel
Fix closing nil sentinel
v6.14.2
2018-10-25 09:51:40 +03:00
171a6d13e9 Fix closing nil sentinel 2018-10-25 09:42:56 +03:00
fa76dd0e87 Add releaseConnStrict 2018-10-14 11:27:34 +03:00
77f7b88603 Merge pull request #883 from andriikushch/master
fix some linter's warning
2018-10-11 15:36:53 +03:00
2d74cf3b10 remove snake case use 2018-10-11 12:58:31 +02:00
f5d67d80d3 remove unused function 2018-10-11 12:55:35 +02:00
f87c59c191 remove redundant type declaration 2018-10-11 12:54:30 +02:00
dc24d98c71 remove redundant expression 2018-10-11 12:53:40 +02:00
55f1f4681d Merge pull request #882 from go-redis/fix/sentinel-options
Copy TLSConfig to SentinelClient options
2018-10-10 12:04:06 +03:00
9b063e2e30 Copy TLSConfig to SentinelClient options 2018-10-10 11:51:34 +03:00
daf101bd79 Fix nil ping error 2018-10-09 10:52:30 +03:00
92c3b30cb0 Merge branch 'master' of github.com:go-redis/redis 2018-10-08 09:59:53 +03:00
b834145dc7 Add test for read timeout option (#877)
Add test for ReadTimeout option
2018-10-05 09:46:29 +03:00
ae8fdc56f3 Merge pull request #876 from ijt/patch-1
use more idiomatic for loop in ExamplePubSub
2018-10-04 12:40:53 +03:00
e99b0688d6 use more idiomatic for loop in ExamplePubSub 2018-10-03 16:36:21 -07:00