Merge pull request #3000 from sulake/bugfix/write_mode

Write mode for modifying set.
pull/3003/head
Nikita Koksharov 5 years ago committed by GitHub
commit a394e061a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -232,7 +232,7 @@ public class RedissonScoredSortedSet<V> extends RedissonExpirable implements RSc
params.add(BigDecimal.valueOf(t.getValue()).toPlainString());
}
return commandExecutor.evalReadAsync((String) null, IntegerCodec.INSTANCE, RedisCommands.EVAL_INT_LIST,
return commandExecutor.evalWriteAsync((String) null, IntegerCodec.INSTANCE, RedisCommands.EVAL_INT_LIST,
"local r = {} " +
"for i, v in ipairs(ARGV) do " +
"if i % 2 == 0 then " +

Loading…
Cancel
Save