mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
increase redis timeout
This commit is contained in:
parent
3725e3fff2
commit
e268e5a895
@ -89,7 +89,7 @@ class ServerSettings(AbstractSettings):
|
|||||||
@classmethod
|
@classmethod
|
||||||
@lru_cache
|
@lru_cache
|
||||||
def redis_timeout_ms(cls) -> ty.Optional[int]:
|
def redis_timeout_ms(cls) -> ty.Optional[int]:
|
||||||
return int(timedelta(days=20).total_seconds() * 1000.0)
|
return int(timedelta(days=180).total_seconds() * 1000.0)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@lru_cache
|
@lru_cache
|
||||||
|
Loading…
Reference in New Issue
Block a user