Commit Graph

2199 Commits

Author SHA1 Message Date
Vladimir Mihailenco 9f7317647f
Merge pull request #1170 from XD-DENG/patch-1
Fix code typo in README sample code
2019-10-04 10:30:02 +03:00
Xiaodong bf7ed09c10
Fix code typo in README sample code
Earlier implementation will result in exception:
"assignment mismatch: 2 variables but client.baseClient.Do returns 1 values"
2019-10-03 23:52:48 +08:00
Iain Proctor 7247939b32 Fix "redis: discarding bad PubSub connection" stuck state (#1162)
* Reset healthy on reconnect
2019-09-30 11:24:53 +03:00
Vladimir Mihailenco fd834aed2b Add Uint64 helper 2019-09-27 14:38:55 +03:00
Vladimir Mihailenco 4b6ad6a953
Merge pull request #1165 from Al2Klimov/feature/options-network-unix
Options#init(): auto-detect *nix socket address
2019-09-23 15:39:50 +03:00
Alexander A. Klimov 4cb8d0f0af Options#init(): auto-detect *nix socket address 2019-09-23 13:58:50 +02:00
Vladimir Mihailenco e2c6acad22
Merge pull request #1159 from go-redis/fix/bad-state-details
internal/pool: include details when conn is in a bad state
2019-09-13 17:32:06 +03:00
Vladimir Mihailenco a2de1fe668 internal/pool: include details when conn is in a bad state 2019-09-13 16:52:05 +03:00
Vladimir Mihailenco 2a480cc543
Merge pull request #1153 from jcox250/master
Add NewXMessagesSliceCmdResult & NewXStreamSliceCmdResult for testing
2019-09-09 12:05:25 +03:00
Ou Changkun cb2d1c89e6 internal/pool: exit conn pool fast (#1155)
* internal/pool: exit conn pool reaper fast
2019-09-09 11:50:28 +03:00
James Cox fb31d51fc3 add NewXStreamSliceCmdResult to initialise XStreamSliceCmd for testing 2019-09-06 11:45:52 +01:00
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