Noah Hilverling
3a019aa681
Add support for XDel
2018-11-13 13:23:59 +01:00
Vladimir Mihailenco
0064936c5b
Cleanup
2018-11-11 12:13:00 +02:00
Vladimir Mihailenco
5c041b4083
Merge pull request #899 from fanatic/master
...
Cleanup sentinel pubsub on close
2018-11-11 12:07:00 +02:00
Jason Parrott
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
Vladimir Mihailenco
58f22c56fd
Change ZWithKey
2018-11-03 12:07:25 +02:00
Vladimir Mihailenco
6809e07fd3
Merge pull request #893 from rvolosatovs/feature/bzpop
...
Implement BZPop{Min,Max}
2018-11-03 11:53:11 +02:00
Roman Volosatovs
8527f5907e
Implement BZPop{Min,Max}
2018-11-02 18:07:01 +01:00
Vladimir Mihailenco
b3d9bf10f6
Merge pull request #890 from go-redis/fix/close-nil-sentinel
...
Fix closing nil sentinel
2018-10-25 09:51:40 +03:00
Vladimir Mihailenco
171a6d13e9
Fix closing nil sentinel
2018-10-25 09:42:56 +03:00
Vladimir Mihailenco
fa76dd0e87
Add releaseConnStrict
2018-10-14 11:27:34 +03:00
Vladimir Mihailenco
77f7b88603
Merge pull request #883 from andriikushch/master
...
fix some linter's warning
2018-10-11 15:36:53 +03:00
Andrii Kushch
2d74cf3b10
remove snake case use
2018-10-11 12:58:31 +02:00
Andrii Kushch
f5d67d80d3
remove unused function
2018-10-11 12:55:35 +02:00
Andrii Kushch
f87c59c191
remove redundant type declaration
2018-10-11 12:54:30 +02:00
Andrii Kushch
dc24d98c71
remove redundant expression
2018-10-11 12:53:40 +02:00
Vladimir Mihailenco
55f1f4681d
Merge pull request #882 from go-redis/fix/sentinel-options
...
Copy TLSConfig to SentinelClient options
2018-10-10 12:04:06 +03:00
Vladimir Mihailenco
9b063e2e30
Copy TLSConfig to SentinelClient options
2018-10-10 11:51:34 +03:00
Vladimir Mihailenco
daf101bd79
Fix nil ping error
2018-10-09 10:52:30 +03:00
Vladimir Mihailenco
92c3b30cb0
Merge branch 'master' of github.com:go-redis/redis
2018-10-08 09:59:53 +03:00
andriikushch
b834145dc7
Add test for read timeout option ( #877 )
...
Add test for ReadTimeout option
2018-10-05 09:46:29 +03:00
Vladimir Mihailenco
ae8fdc56f3
Merge pull request #876 from ijt/patch-1
...
use more idiomatic for loop in ExamplePubSub
2018-10-04 12:40:53 +03:00
Issac Trotts
e99b0688d6
use more idiomatic for loop in ExamplePubSub
2018-10-03 16:36:21 -07:00
Vladimir Mihailenco
2e77539901
Merge pull request #875 from go-redis/fix/use-channel
...
Use PubSub.Channel to not burn CPU on errors
2018-10-01 12:15:55 +03:00
Vladimir Mihailenco
48e9afe2a7
Use PubSub.Channel to not burn CPU on errors
2018-10-01 11:43:26 +03:00
Vladimir Mihailenco
6a768df38b
.
2018-10-01 11:38:21 +03:00
Vladimir Mihailenco
69445c6e87
Don't enable ReadOnly in custom cluster mode
2018-09-20 13:35:51 +03:00
Vladimir Mihailenco
40dbb03d62
Set cmd timeout when Block >= 0
2018-09-13 09:28:01 +03:00
Vladimir Mihailenco
f7094544a5
Process pipeline commands concurrently
2018-09-11 13:30:51 +03:00
zhanyr
a9e329d3bc
execute commans concurrently on each cluster node in method `defaultProcessPipeline` ( #861 )
...
Execute commands concurrently on each cluster node
2018-09-11 12:37:57 +03:00
Vladimir Mihailenco
dd997adc42
travis: test on Go 1.11
2018-09-07 11:46:34 +03:00
Vladimir Mihailenco
0e7099cf69
ring: retry commands
2018-09-07 11:45:56 +03:00
Rémy-Christophe Schermesser
f3bba01df2
Add ZPopMin and ZPopMax ( #853 )
...
* Add ZPopMin and ZPopMax
2018-09-03 11:45:32 +03:00
Vladimir Mihailenco
86155dcfb7
Fix typo
2018-08-27 08:29:25 +03:00
Vladimir Mihailenco
1614e579ed
Update changelog
2018-08-23 16:15:29 +03:00
Vladimir Mihailenco
8d3747808e
internal: retry timeout
2018-08-23 16:13:42 +03:00
Vladimir Mihailenco
655336673b
Add Int helper
2018-08-21 14:11:19 +03:00
Vladimir Mihailenco
21826c1c21
Merge pull request #844 from go-redis/fix/buf-writer
...
Use bufio.Writer
2018-08-17 14:28:59 +03:00
Vladimir Mihailenco
0197108027
Use bufio.Writer
2018-08-17 14:14:02 +03:00
Vladimir Mihailenco
1874269be2
Merge pull request #843 from go-redis/fix/read-big-values
...
Optimize reading big values
2018-08-16 14:24:58 +03:00
Vladimir Mihailenco
00de347403
Optimize reading big values
2018-08-16 14:01:03 +03:00
Vladimir Mihailenco
929bfb147c
Merge pull request #841 from go-redis/fix/cleanup-buffer-usage
...
Cleanup buffers manipulation
2018-08-15 12:05:44 +03:00
Vladimir Mihailenco
5146fb0c57
Cleanup buffers manipulation
2018-08-15 11:53:15 +03:00
Vladimir Mihailenco
7c26d1ceb6
Pass cn.Rd where possible
2018-08-15 09:38:58 +03:00
Vladimir Mihailenco
cfe305296f
Bench bigget values
2018-08-15 09:10:53 +03:00
Vladimir Mihailenco
ef3e0e9827
Merge pull request #839 from go-redis/fix/cluster-loopback-fix
...
Fix cluster loopback handling. Fixes #589
2018-08-15 08:52:04 +03:00
Vladimir Mihailenco
03f059067f
Merge pull request #840 from go-redis/fix/universal-options
...
Add missing options to UniversalOptions
2018-08-15 08:51:51 +03:00
Vladimir Mihailenco
0d132966a4
Add missing options to UniversalOptions
2018-08-15 08:44:06 +03:00
Vladimir Mihailenco
c1c2753ae8
Fix cluster loopback handling. Fixes #589
2018-08-14 15:57:17 +03:00
Vladimir Mihailenco
8ebf0b7750
Remove unused code
2018-08-13 09:52:36 +03:00
Vladimir Mihailenco
33287c7c34
Merge pull request #838 from go-redis/feature/do
...
Feature/do
2018-08-12 11:57:36 +03:00