Write mode for modifying set.

Signed-off-by: Johno Crawford <johno.crawford@gmail.com>
pull/3000/head
Johno Crawford 5 years ago
parent 8f3818bd6d
commit c4215a0bdc
No known key found for this signature in database
GPG Key ID: 747B819B88FCAB8A

@ -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