Modernized codebase with NamedTuples, StrEnum, override decorators, slots, and other idiomatic improvements.
This commit is contained in:
@@ -47,6 +47,8 @@ class IngestCache:
|
||||
:param cleanup_interval_seconds: How often the background task runs.
|
||||
"""
|
||||
|
||||
__slots__ = ("_cleanup_interval", "_entries", "_task", "_ttl")
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
ttl_seconds: float = 120,
|
||||
|
||||
Reference in New Issue
Block a user