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
							
								
									5ed24b9f42
								
							
						
					
					
						commit
						90997f5adb
					
				@ -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=14).total_seconds() * 1000.0)
 | 
					        return int(timedelta(days=30).total_seconds() * 1000.0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    @classmethod
 | 
					    @classmethod
 | 
				
			||||||
    @lru_cache
 | 
					    @lru_cache
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user