Commit Graph

2538 Commits

Author SHA1 Message Date
James Cox 74177b12f8 add NewXMessageSliceCmdResult to initialise XMessageSliceCmd for testing 2019-09-06 11:44:45 +01:00
Vladimir Mihailenco 3e1f1aba0e Remove deprecated command 2019-08-28 14:52:27 +03:00
Vladimir Mihailenco d19aba07b4
Merge pull request #1138 from go-redis/fix/with-context-race
Fix WithContext race
2019-08-24 13:11:52 +03:00
Vladimir Mihailenco 152e52f203 Fix WithContext race 2019-08-24 12:40:23 +03:00
Vladimir Mihailenco 5776216677 Cleanup 2019-08-24 11:55:13 +03:00
Vladimir Mihailenco 2c55c0b55a Manually update Go version in go.mod 2019-08-23 16:14:24 +03:00
Vladimir Mihailenco c1ae30446e
Merge pull request #1134 from kassiansun/master
fix go.sum with go mod tidy
2019-08-23 16:10:37 +03:00
Vladimir Mihailenco 8dff1f8bf7
Merge pull request #1135 from go-redis/fix/ring-on-new-shard
Add RingOptions.OnNewShard
2019-08-23 15:03:26 +03:00
Vladimir Mihailenco 0c4c236793 Add RingOptions.OnNewShard 2019-08-23 14:46:40 +03:00
Kassian Sun 24fbf5aecb fix go.sum with go mod tidy 2019-08-23 17:41:13 +08:00
Vladimir Mihailenco 472322938c Use shorter name in example 2019-08-18 17:24:17 +03:00
Vladimir Mihailenco e694ed0084 Cleanup 2019-08-18 17:11:07 +03:00
Vladimir Mihailenco e471faf7f8
Merge pull request #1132 from go-redis/fix/deadline-error
internal: return an error on setting deadline
2019-08-16 18:16:26 +03:00
Vladimir Mihailenco eaeb8f2a08 internal: return an error on setting deadline 2019-08-16 17:50:57 +03:00
Vladimir Mihailenco d02c6f40dc
Merge pull request #1129 from go-redis/fix/strict-read-line
internal/proto: use strict ReadLine
2019-08-14 11:46:06 +03:00
Vladimir Mihailenco e269de20cf internal/proto: use strict ReadLine 2019-08-14 11:14:50 +03:00
Vladimir Mihailenco 61e0d1d527 internal/proto: util util.Atoi 2019-08-14 10:24:13 +03:00
Vladimir Mihailenco d22f03ecbc
Merge pull request #1121 from go-redis/fix/retyr-process
Retry timeout by default
2019-08-12 16:00:26 +03:00
Vladimir Mihailenco 39b67358d7 Retry timeout by default 2019-08-12 15:20:27 +03:00
Vladimir Mihailenco f6fc23d2fa Move key to ZStore 2019-08-09 16:23:56 +03:00
Vladimir Mihailenco 22465b7530
Merge pull request #1119 from go-redis/fix/geo-radious-store
Add writing version of GeoRadius commands
2019-08-09 15:50:04 +03:00
Vladimir Mihailenco 4d3ed95bd9 Add conn health check 2019-08-09 15:11:52 +03:00
Vladimir Mihailenco 191391d66d Add writing version of GeoRadius commands 2019-08-09 15:04:56 +03:00
Vladimir Mihailenco 40a478a654
Merge pull request #1118 from go-redis/fix/cleanup-process
Add withConn and set cmd errors more consistently
2019-08-09 14:26:01 +03:00
Vladimir Mihailenco 2a46cb006d Add withConn and set cmd errors more consistently 2019-08-09 13:53:05 +03:00
Vladimir Mihailenco 178deea321
Merge pull request #1117 from go-redis/fix/go-mod-v7
Use semantic import versioning
2019-08-08 14:57:06 +03:00
Vladimir Mihailenco 7779accbea Use semantic import versioning 2019-08-08 14:29:44 +03:00
Vladimir Mihailenco 87225c1cf9 malign struct fields 2019-08-08 14:22:01 +03:00
Vladimir Mihailenco e0fed4d581 Remove atomic.Value.Store(nil) 2019-08-08 14:04:19 +03:00
Vladimir Mihailenco 3ad2955728
Merge pull request #1116 from go-redis/feature/retry-init-conn
Feature/retry init conn
2019-08-08 13:46:23 +03:00
Vladimir Mihailenco 48224a399f Remove releaseConnStrict 2019-08-08 11:44:55 +03:00
Vladimir Mihailenco 2927e15b6b Retry BadConnError 2019-08-08 11:44:55 +03:00
Vladimir Mihailenco 056ad27792 Cleanup 2019-08-07 16:57:48 +03:00
Vladimir Mihailenco 27f3b27893 Fix names 2019-08-07 16:12:01 +03:00
Vladimir Mihailenco 742f3ccb21
Merge pull request #1114 from go-redis/fix/pool-single
Add proper SingleConnPool implementation
2019-08-03 17:48:25 +03:00
Vladimir Mihailenco 4e9cea8876 Add proper SingleConnPool implementation 2019-08-03 17:31:28 +03:00
Vladimir Mihailenco d6a99e7be3
Merge pull request #1112 from patrickwhite256/master
Close single conn connection pool
2019-08-03 17:17:52 +03:00
Patrick White efa4a78883 Close single conn connection pool 2019-08-01 14:59:53 -07:00
Vladimir Mihailenco 0cf98f9217
Merge pull request #1110 from kollektiv/dial-context
Use DialContext by default
2019-07-31 10:58:11 +03:00
Timothy Yen 0ecf16e773 Options: Use DialContext by default
Use net.Dialer DialContext by default because go-redis supports
contexts.

Resolves #1101
2019-07-30 13:03:41 -07:00
Vladimir Mihailenco e58b0108b1
Merge pull request #1108 from go-redis/fix/sleep-context
Cancel sleep when context is cancelled
2019-07-30 12:37:28 +03:00
Vladimir Mihailenco c837612911 Cancel sleep when context is cancelled 2019-07-30 12:13:00 +03:00
Vladimir Mihailenco 6d8db67ef5 Cleanup 2019-07-28 10:53:40 +03:00
waterandair 6cd6cd828f protect pollSize and idleConnsLen with mutex (#1105)
Fix poolSize and idleConnsLen when conn can't be created
2019-07-28 09:56:57 +03:00
Vladimir Mihailenco d190c8191e
Merge pull request #1106 from go-redis/fix/bytes-unsafe
Use unsafe StringToBytes to speedup StringCmd.Bytes
2019-07-27 17:14:01 +03:00
Vladimir Mihailenco f76700581d Use unsafe StringToBytes to speedup StringCmd.Bytes 2019-07-27 16:40:31 +03:00
Vladimir Mihailenco ec312e4dd5
Merge pull request #1104 from go-redis/fix/golangci-lint
Add golangci-lint
2019-07-25 15:01:16 +03:00
Vladimir Mihailenco f3ce3362a0 Add golangci-lint 2019-07-25 14:36:50 +03:00
Vladimir Mihailenco 9228e88887
Merge pull request #1103 from go-redis/fix/pipeline-propagate-ctx
Propagate context in Pipeline
2019-07-25 13:51:56 +03:00
Vladimir Mihailenco 52ec525849 Propagate context in Pipeline 2019-07-25 13:28:15 +03:00