Commit Graph

1630 Commits

Author SHA1 Message Date
Vladimir Mihailenco d2630e5ae9 Add Cmder.FullName 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco 3031343dae Make cmd.String() faster 2020-05-19 08:52:38 +03:00
Philip Manavopoulos 0557f66418 cmdsInfo to actually use and return the first error 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco 76f0041b12 Fix build 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco 558263e5eb Remove deprecated Ring options 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco 2b060bb99d Remove error reporting 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco 66cd13e793 Update otel 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco 61a78caa5d go mod tidy 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco 3dcb844106 Bump major version 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco f5593121e0 Add ctx as first arg 2020-05-19 08:52:38 +03:00
Vladimir Mihailenco 64bb0b7f3a
Merge pull request #1315 from lwightmoon/master
fix NewConnPool checkMinIdleConns data race
2020-05-19 08:52:02 +03:00
Vladimir Mihailenco e63a32f316
Merge pull request #1323 from dengliming/patch-1
Remove deprecated sudo setting.
2020-05-13 08:29:05 +03:00
dengliming 14afb4832e
Remove deprecated sudo setting. 2020-05-12 23:10:04 +08:00
Yiwei Zhuang 5cd9e7f2f8 allow cluster client use limiter 2020-04-30 18:35:46 -07:00
wanglei6 39881392de code fmt 2020-04-30 17:46:50 +08:00
wanglei6 4d5f8a5df3 fix data race 2020-04-30 14:34:48 +08:00
ocallaco c9f2e839d2
add NewTimeCmdResult to allow unit testing with TimeCmd (#1298)
* add NewTimeCmdResult to allow unit testing with TimeCmd

Co-authored-by: Conall OCallaghan <cocallaghan@nvidia.com>
2020-04-18 09:05:16 +03:00
Vladimir Mihailenco fc177c3607
Merge pull request #1292 from shlinym/master
update README.md
2020-04-12 16:06:23 +03:00
shlinym 4505594f5f update README.md 2020-04-12 17:27:32 +08:00
Vitaliy Kudryk 39272697aa
issue-1279 update logging 2020-03-30 17:02:17 +03:00
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
theo-delaune-argus fea610f7b4 Store time in RFC3339Nano to keep nanoseconds 2020-03-13 17:48:33 +01: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