This commit is contained in:
siddontang 2014-10-31 20:33:32 +08:00
parent 0009fe83b9
commit e343ca0dc0
2 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ type Config struct {
ConnReadBufferSize int `toml:"conn_read_buffer_size"` ConnReadBufferSize int `toml:"conn_read_buffer_size"`
ConnWriteBufferSize int `toml:"conn_write_buffer_size"` ConnWriteBufferSize int `toml:"conn_write_buffer_size"`
ConnKeepaliveInterval int `toml:"conn_keepavlie_interval"` ConnKeepaliveInterval int `toml:"conn_keepalive_interval"`
TTLCheckInterval int `toml:"ttl_check_interval"` TTLCheckInterval int `toml:"ttl_check_interval"`
} }

View File

@ -50,7 +50,7 @@ conn_write_buffer_size = 10240
# if connection receives no data after n seconds, it may be dead, close # if connection receives no data after n seconds, it may be dead, close
# 0 to disable and not check # 0 to disable and not check
conn_keepavlie_interval = 0 conn_keepalive_interval = 0
# checking TTL (time to live) data every n seconds # checking TTL (time to live) data every n seconds
# if you set big, the expired data may not be deleted immediately # if you set big, the expired data may not be deleted immediately