antirez 112fa47978 Add per-db average TTL information in INFO output.
Example:

db0:keys=221913,expires=221913,avg_ttl=655

The algorithm uses a running average with only two samples (current and
previous). Keys found to be expired are considered at TTL zero even if
the actual TTL can be negative.

The TTL is reported in milliseconds.
2013-08-06 15:00:43 +02:00
..
2012-04-13 17:52:33 -07:00
2013-01-19 10:59:44 +01:00
2013-07-10 14:37:13 +02:00
2013-07-08 16:08:36 +02:00
2013-01-19 10:59:44 +01:00
2013-01-19 10:59:44 +01:00
2013-06-27 12:18:29 +02:00
2013-01-19 10:59:44 +01:00
2013-05-14 11:23:16 +02:00
2013-01-19 10:59:44 +01:00
2013-06-21 12:07:53 +02:00
2013-01-19 10:59:44 +01:00
2013-01-19 10:59:44 +01:00
2013-01-19 10:59:44 +01:00
2013-07-16 15:43:36 +02:00
2013-01-19 10:59:44 +01:00
2013-07-24 18:59:54 +02:00
2013-07-02 12:08:07 +02:00
2011-07-06 15:22:00 +02:00
2013-05-27 11:44:04 +02:00
2013-01-19 10:59:44 +01:00