increase cache
This commit is contained in:
parent
fbeca06694
commit
03c3f4a4df
1 changed files with 1 additions and 1 deletions
|
|
@ -44,7 +44,7 @@ class ProxyClient:
|
||||||
timeout: float = 180,
|
timeout: float = 180,
|
||||||
):
|
):
|
||||||
self.request_mapper: MutableMapping[str, str] = TTLCache(
|
self.request_mapper: MutableMapping[str, str] = TTLCache(
|
||||||
maxsize=timeout * 60, ttl=timeout * 1.1
|
maxsize=timeout * timeout, ttl=timeout * 1.1
|
||||||
)
|
)
|
||||||
self._client = _NoCertVerifyClient(client_id=client_id, config=config)
|
self._client = _NoCertVerifyClient(client_id=client_id, config=config)
|
||||||
self._host = host
|
self._host = host
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue