Commit Graph

1730 Commits

Author SHA1 Message Date
YangKian 944a6a1752 Fix sample code for Sort method in README 2020-01-19 16:27:47 +08:00
Vladimir Mihailenco a4bad76db9
Merge pull request #1234 from go-redis/fix/tx-pipeline
Change Tx.Pipeline and Tx.TxPipeline meaning
2020-01-12 14:45:23 +02:00
Vladimir Mihailenco dd4ef4e9cb Change Tx.Pipeline and Tx.TxPipeline meaning 2020-01-12 14:19:21 +02:00
Vladimir Mihailenco 08dad1eb7f Add hint on Streams usage 2020-01-12 12:14:22 +02:00
Vladimir Mihailenco 13b6cb3891 Add note on HMGet 2020-01-12 12:03:21 +02:00
Vladimir Mihailenco 984a6395c9
Merge pull request #1225 from go-redis/fix/watch-instrumentation
Add missing Tx instrumentation
2019-12-29 12:47:23 +02:00
Vladimir Mihailenco c0fcf85f12 Add missing Tx instrumentation 2019-12-29 12:14:02 +02:00
Vladimir Mihailenco 6c240ffc72
Merge pull request #1220 from go-redis/fix/hmset-args
Fix HMSet args size
2019-12-24 13:05:11 +02:00
Vladimir Mihailenco 071b053edd Fix HMSet args size 2019-12-24 12:34:52 +02:00
Vladimir Mihailenco 0658532833
Merge pull request #1217 from go-redis/fix/hmset-to-hset
Use HSET for HMSet
2019-12-18 13:16:09 +02:00
Vladimir Mihailenco def106c404 Update build 2019-12-18 12:51:52 +02:00
Vladimir Mihailenco d7ce64d287 Use HSET for HMSet 2019-12-18 12:47:46 +02:00
Vladimir Mihailenco 5e9d366691
Merge pull request #1184 from wingyplus/geo-pos-cmd-result
add NewGeoPosCmdResult to make GeoPos mockable result
2019-12-09 09:59:43 +02:00
Vladimir Mihailenco 2713a259c5 readme: add go mod init 2019-12-09 09:54:23 +02:00
Vladimir Mihailenco 9d85e760bf
Merge pull request #1205 from jskelcy/js/fix_tests
properly point redisServerConf to redis.conf
2019-12-07 11:35:06 +02:00
jskelcy c2e92153ba properly point redisServerConf to redis.conf 2019-12-05 14:28:33 -05:00
Vladimir Mihailenco 23b47cf42f
Merge pull request #1204 from RealBar/master
fix:Set operation claims insufficient memory (#1203)
2019-12-05 14:18:49 +02:00
yalouwang d3b25fc66c fix:Set operation claims insufficient memory (#1203) 2019-12-04 17:19:00 +08:00
Vladimir Mihailenco dab9d3f802 Cleanup 2019-11-19 12:37:26 +02:00
Vladimir Mihailenco eb64034d44
Merge pull request #1189 from WTIFS/master
Set key to lowercase in cmdsInfoCache.Get()
2019-11-19 10:53:00 +02:00
Vladimir Mihailenco 206581a471
Merge pull request #1193 from ferhatelmas/bump-golangci
Bump golangci-lint to v1.21.0
2019-11-19 10:00:03 +02:00
ferhat elmas b403828de2 Bump golangci-lint to v1.21.0 2019-11-18 18:46:13 +01:00
Vladimir Mihailenco da5cd5af3e
Merge pull request #1192 from jkt628/sentinel-proxy
sentinel uses configured Dialer
2019-11-18 10:14:00 +02:00
Jack Thomasson 6a5329235d sentinel uses configured Dialer
such as https://godoc.org/golang.org/x/net/proxy#PerHost
2019-11-16 10:20:22 -07:00
chenyuanfei b32ffae255 set key to lower for cmdsInfoCache.Get() 2019-11-12 15:08:59 +08:00
Thanabodee Charoenpiriyakij 62639928b0 add NewGeoPosCmdResult
GeoPosCmd cannot mock in unit test due to set result function is missing.
2019-10-31 11:27:09 +07:00
李锐 726ddef6f5 fix: FailoverOptions to Options (#1178)
Add missing options to FailoverOptions
2019-10-21 13:21:23 +03:00
Vladimir Mihailenco f10f34eb29 Rename XGroup to XInfoGroups 2019-10-08 12:50:13 +03:00
saito d5b2eccbe2 add xinfo groups command (#1166)
Add xinfo groups command
2019-10-08 12:48:24 +03:00
Vladimir Mihailenco 4afa84c2c4 Fix sentinel leak 2019-10-08 12:43:00 +03:00
Vladimir Mihailenco 2cd577a047 readme: mention Go modules 2019-10-08 12:11:08 +03:00
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