mailgun / expiringdict

Dictionary with auto-expiring values for caching purposes.
Apache License 2.0
347 stars 76 forks source link

Add support to log a full buffer and TTL expiry to syslog. #11

Open avleen opened 9 years ago

avleen commented 9 years ago

We use expiring dict as a temporary buffer, and frequently delete keys after processing them. However, sometimes the buffer gets filled, or keys hang around longer than they should. In those cases, it's great to know what was removed.