refactor: reduce LimitedSizeDict size

This commit is contained in:
2025-05-02 18:18:34 -04:00
parent f4b7e0f5ce
commit 83d784c917
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ def filter_secrets(text: str, secrets=SECRETS) -> str:
class LimitedSizeDict(OrderedDict):
def __init__(self, *args, **kwargs):
self.size_limit = kwargs.pop("size_limit", 1000)
self.size_limit = kwargs.pop("size_limit", 100)
super().__init__(*args, **kwargs)
self._check_size_limit()