allow to disable self.running_games as L1 Cache into Worker when useing Redis Backend
Build and Push Docker Container / build-and-push (push) Successful in 54s
Build and Push Docker Container / build-and-push (push) Successful in 54s
This commit is contained in:
@@ -26,6 +26,7 @@ def build_server_from_env(default_snake_type:str) -> Server:
|
||||
game_state_backend=os.environ.get('GAME_STATE_BACKEND', 'memory'),
|
||||
game_state_redis_url=os.environ.get('GAME_STATE_REDIS_URL', 'redis://localhost:6379/0'),
|
||||
game_state_ttl_sec=int(os.environ.get('GAME_STATE_TTL_SEC', '900')),
|
||||
game_state_local_cache=env_bool('GAME_STATE_LOCAL_CACHE', default=True),
|
||||
)
|
||||
|
||||
if env_bool('STORE_GAME_HISTORY'):
|
||||
|
||||
Reference in New Issue
Block a user