diff options
author | antirez <antirez@gmail.com> | 2018-05-11 18:00:32 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2018-05-11 18:00:32 +0200 |
commit | 56bbab238a0fb0c14e1ca0cdb0ebadc8fb8dc945 (patch) | |
tree | 029dc8415d4d9ebbb5112d2931601b366f81e196 /src/sds.h | |
parent | 6efb6c1e069b414305a92cf57cee31d13a84a44a (diff) | |
download | redis-56bbab238a0fb0c14e1ca0cdb0ebadc8fb8dc945.tar.gz |
ZPOP: change sync ZPOP to have a count argument instead of N keys.
Usually blocking operations make a lot of sense with multiple keys so
that we can listen to multiple queues (or whatever the app models) with
a single connection. However in the synchronous case it is more useful
to be able to ask for N elements. This is a change that I also wanted to
perform soon or later in the blocking list variant, but here it is more
natural since there is no reply type difference.
Diffstat (limited to 'src/sds.h')
0 files changed, 0 insertions, 0 deletions