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

This commit is contained in:
2026-04-04 12:53:31 +02:00
parent a1c4a4b68d
commit 65128b25c2
2 changed files with 17 additions and 10 deletions
+1
View File
@@ -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'):