mloughran/api_cache — pull request #6 by feydr (2012-04-30 18:22:49+00:00)
Title: missing key exception

With both redis and memcached's default behavior of expiring keys when full, APICache sometimes throws exceptions when the key containing data is present but not the key w/the expiration date.

This patch simply ensures both keys are present when looking them up.

Two lookups doesn't seem ideal but is there a better solution for this behavior?