CachedLDAPConnection: Add support for cache.longevity-days
authorW. Trevor King <wking@tremily.us>
Sun, 20 Jan 2013 16:39:50 +0000 (11:39 -0500)
committerW. Trevor King <wking@tremily.us>
Sun, 20 Jan 2013 18:05:19 +0000 (13:05 -0500)
commit17d11a9a395ea3cc3338a10dd86e6337f6ed0b41
tree7c43a0d594f81c0509b8a37bfe01c9fe4e65294b
parentd2288006402da659f4cb9610762daf11a3617d4d
CachedLDAPConnection: Add support for cache.longevity-days

Cull entries older than longevity-days (defaults to 14).  This
requires changing the cache values from a list of entries to a dict
with 'time' and 'entries' keys.  Hmm, I should probably add a
reasonable cache versioning scheme...
mutt-ldap.py