Code

Add max_set_duration to set duration for value
authorTomofumi Hayashi <tohayash@redhat.com>
Thu, 21 Sep 2017 09:10:30 +0000 (18:10 +0900)
committerTomofumi Hayashi <tohayash@redhat.com>
Mon, 25 Sep 2017 15:25:14 +0000 (00:25 +0900)
commitb49cb08112a789ff319955d83eaac25797956d74
tree9be6fd0b023efe67a37d99b0a57a776afdc6b009
parentebf73b656a05c937ac8ab9f36753ac637c36df25
Add max_set_duration to set duration for value

This change introduces max_set_duration, the duration for the value
as max_set_size. max_set_size can keep the db size, however, sometime
max_set_size allows to contain old data. max_set_duration can keep
the latest data.
src/write_redis.c