Specify the max size of the lrucache for Python 3.7

This commit is contained in:
Gavin M. Roy 2020-04-06 18:23:53 -04:00
parent b620e1048c
commit 780a428f9d

View file

@ -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