Refactor sessions a bit, and fix issue where runtimes get killed (#4900)

This commit is contained in:
Robert Brennan
2024-11-12 11:20:36 -05:00
committed by GitHub
parent 910b283ac2
commit 17f4c6e1a9
14 changed files with 71 additions and 131 deletions

View File

@@ -36,7 +36,7 @@ class SandboxConfig:
remote_runtime_api_url: str = 'http://localhost:8000'
local_runtime_url: str = 'http://localhost'
keep_remote_runtime_alive: bool = True
keep_runtime_alive: bool = True
api_key: str | None = None
base_container_image: str = 'nikolaik/python-nodejs:python3.12-nodejs22' # default to nikolaik/python-nodejs:python3.12-nodejs22 for eventstream runtime
runtime_container_image: str | None = None