We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dab9d3f + d3b25fc commit 23b47cfCopy full SHA for 23b47cf
commands.go
@@ -823,7 +823,7 @@ func (c cmdable) MSetNX(pairs ...interface{}) *BoolCmd {
823
// Use expiration for `SETEX`-like behavior.
824
// Zero expiration means the key has no expiration time.
825
func (c cmdable) Set(key string, value interface{}, expiration time.Duration) *StatusCmd {
826
- args := make([]interface{}, 3, 4)
+ args := make([]interface{}, 3, 5)
827
args[0] = "set"
828
args[1] = key
829
args[2] = value
0 commit comments