A critical bug has been fixed, and a new feature has been added. Now you can disable or use a custom lock for cache stampede prevention in @cached decorator.
New Features
- Added
lockparameter to the@cacheddecorator, providing more control on cache stampede prevention. Also fixes #54.
Bug Fixes
- #55: GC traversing a concurrently-constructed cache aborts the interpreter (SIGABRT)
- #54: 5.x.x / 6.0.0: Inherent lock for cached method causes deadlocks in some situations
Thanks To
- @etripier for reports