enormego / EGOCache

Fast Caching for Objective-C (iPhone & Mac Compatible)
MIT License
1.33k stars 290 forks source link

Make the defaultTimeoutInterval apply to all caches #30

Closed ferlatte closed 11 years ago

ferlatte commented 11 years ago

If you make your own cache object, the defaultTimeoutInterval is 0 which is rather surprising. This change makes the defaultTimeoutInterval 1 day for all cache objects, not just the global cache object.