diff --git a/sprockets_postgres.py b/sprockets_postgres.py index d7ab758..2c04970 100644 --- a/sprockets_postgres.py +++ b/sprockets_postgres.py @@ -169,7 +169,7 @@ class ApplicationMixin: return await cursor.fetchall() return None - @functools.lru_cache + @functools.lru_cache(2) def _postgres_query_timeout(self, timeout: typing.Optional[int] = None) -> int: """Return query timeout, either from the specified value or