Skip to content

Commit

Permalink
Minor doc improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
zmumi committed Sep 30, 2024
1 parent 541a5ff commit 3ccb423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memoize/statuses.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3ccb423

Please sign in to comment.