Commit Graph

1459 Commits

Author SHA1 Message Date
Dirkjan Bussink 9a49a4d91d
Add client instantiation callback to allow more flexible configuration (#1281)
* Add NewClient to Ring options
2020-03-27 15:48:18 +02:00
Vladimir Mihailenco 1c4dd844c4
Merge pull request #1272 from go-redis/fix/test-32bit
Fix tests on 32bit arches
2020-03-10 16:06:23 +02:00
Vladimir Mihailenco 3a6cc55be5 Fix tests on 32bit arches 2020-03-10 15:41:45 +02:00
Vladimir Mihailenco 20a182ceb1 Update changelog 2020-02-22 11:02:03 +02:00
Vladimir Mihailenco 9d1e8a566f
Merge pull request #1263 from go-redis/fix/hset-hmset
Rename HMSet to HSet and restore old HMSet
2020-02-20 08:50:56 +02:00
Vladimir Mihailenco 7df36b4eb7 Rename HMSet to HSet and restore old HMSet 2020-02-19 16:34:34 +02:00
Vladimir Mihailenco 726f6807ac
Merge pull request #1260 from go-redis/fix/txPipelineWriteMulti
Don't allocate tmp slice in txPipelineWriteMulti
2020-02-14 16:25:45 +02:00
Vladimir Mihailenco 218b17f0fc Include multi & exec in pipeline hook 2020-02-14 15:55:16 +02:00
Vladimir Mihailenco 49a0c8c319 Add test for ring and cluster hooks 2020-02-14 14:30:40 +02:00
Vladimir Mihailenco 2e3402d33d Don't allocate tmp slice in txPipelineWriteMulti 2020-02-14 12:55:59 +02:00
Vladimir Mihailenco c01b1dcab8 Tweak doc 2020-02-13 16:13:33 +02:00
Vladimir Mihailenco 709e543f16
Merge pull request #1259 from go-redis/fix/unexport-lock-clone
Unexport Clone and Lock from embedded hooks
2020-02-12 13:44:55 +02:00
Vladimir Mihailenco 512e6c7a40 Unexport Clone and Lock from embedded hooks 2020-02-12 13:02:09 +02:00
Sawit Trisirisatayawong 6bd8d9ce28
README Fix: Added client variable initialisation (redis.NewClient) in quickstartExampleClient() (#1257)
* updated: readme quickstart
2020-02-11 09:35:26 +02:00
Vladimir Mihailenco 68dd70bb72
Merge pull request #1255 from git-hulk/master
Exported the setErr function as public
2020-02-03 16:38:05 +02:00
git-hulk efeb0a2082 Add test case for command set error 2020-02-03 18:18:37 +08:00
git-hulk d52b11cb42 Exported the setErr function as public 2020-02-03 17:53:47 +08:00
Vladimir Mihailenco a579d58c59
Merge pull request #1253 from go-redis/feature/with-timeout
Add WithTimeout
2020-02-02 15:22:13 +02:00
Vladimir Mihailenco d2e52839ee Add WithTimeout 2020-02-02 14:59:27 +02:00
Vladimir Mihailenco 2df96f7ef0
Merge pull request #1252 from go-redis/fix/set-cmd-err
Set error on the commands in case there are no more attempts left
2020-02-02 14:50:31 +02:00
Vladimir Mihailenco 45de1c42ae Set error on the commands in case there are no more attempts left 2020-02-02 14:17:14 +02:00
Vladimir Mihailenco 5edc4c8384
Merge pull request #1251 from go-redis/fix/hook-error-cmd
Set an error returned from the hook on the Cmd
2020-02-02 12:13:49 +02:00
Vladimir Mihailenco bdcf7a49a2 Set an error returned from the hook on the Cmd 2020-02-02 11:55:35 +02:00
Vladimir Mihailenco db45a825cc Remove SetLimiter 2020-02-02 11:09:27 +02:00
Vladimir Mihailenco 4eb2debcdc Don't create empty map when value is missing 2020-02-02 10:48:23 +02:00
yeplato a8704c3bd0
let XReadGroup skip empty message and process next message (#1243)
* let XReadGroup skip empty message and process next message
2020-02-02 10:46:20 +02:00
Furkan Senharputlu 8a0ab1aaa7
Make universal options functions public (#1250)
* Make universal options functions public
2020-01-29 17:36:52 +02:00
Vladimir Mihailenco 2f96fd1378 Fix doc 2020-01-20 11:57:46 +02:00
Vladimir Mihailenco c1595381b1
Merge pull request #1241 from YangKian/master
Fix sample code for Sort method in README
2020-01-19 12:17:32 +02:00
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