From 3ccb423d715865883c0acff9c43ba937e4681d35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=BBmuda?= Date: Mon, 30 Sep 2024 14:49:07 +0200 Subject: [PATCH] Minor doc improvement --- memoize/statuses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memoize/statuses.py b/memoize/statuses.py index 664d7ea..06c0d68 100644 --- a/memoize/statuses.py +++ b/memoize/statuses.py @@ -46,7 +46,7 @@ def await_updated(self, key: CacheKey) -> Awaitable[Union[CacheEntry, Exception] class InMemoryLocks(UpdateStatuses): - """Manages in-memory locks to prevent dog-piling. """ + """Manages in-memory locks (for each updated key) to prevent dog-piling. """ def __init__(self, update_lock_timeout: datetime.timedelta = datetime.timedelta(minutes=5)) -> None: self.logger = logging.getLogger(__name__) self._update_lock_timeout = update_lock_timeout