Skip to content
Snippets Groups Projects
Commit 3ce02de2 authored by Piotr Maślanka's avatar Piotr Maślanka
Browse files

2.17.11

parent dfebb7ff
No related branches found
Tags v2.17.11
No related merge requests found
......@@ -7,3 +7,4 @@
* added `grace_amount` to `ExponentialBackoff`
* **bugfix**: `ExponentialBackoff` will start
available
* fixed a bug in `evictions`
__version__ = '2.17.11a4'
__version__ = '2.17.11'
......@@ -110,7 +110,8 @@ class MetrifiedLRUCacheDict(LRUCacheDict[K, V]):
self.how_long_refresh_takes = how_long_refresh_takes
def evict(self):
self.evictions.runtime(+1)
if self.evictions is not None:
self.evictions.runtime(+1)
super().evict()
def __getitem__(self, item):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment