From d7c59f337d18f5d94dd79274f1c4547923b65983 Mon Sep 17 00:00:00 2001 From: siddontang Date: Wed, 29 Oct 2014 21:13:56 +0800 Subject: [PATCH] update config --- etc/ledis.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/etc/ledis.conf b/etc/ledis.conf index 2b5d545..fc227f4 100644 --- a/etc/ledis.conf +++ b/etc/ledis.conf @@ -47,6 +47,10 @@ use_replication = false conn_read_buffer_size = 10240 conn_write_buffer_size = 10240 +# checking TTL (time to live) data every n seconds +# if you set big, the expired data may not be deleted immediately +ttl_check_interval = 1 + [leveldb] # for leveldb and goleveldb compression = false