Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions rock/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class SandboxConfig:
actor_resource: str = ""
actor_resource_num: float = 0.0
gateway_num: int = 1
remove_container_enabled: bool = True


@dataclass
Expand Down
1 change: 1 addition & 0 deletions rock/deployments/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ async def init_config(self, config: DeploymentConfig) -> DockerDeploymentConfig:
await self.rock_config.update()
docker_deployment_config.actor_resource = self.rock_config.sandbox_config.actor_resource
docker_deployment_config.actor_resource_num = self.rock_config.sandbox_config.actor_resource_num
docker_deployment_config.remove_container = self.rock_config.sandbox_config.remove_container_enabled
return docker_deployment_config

def get_deployment(self, config: DeploymentConfig) -> AbstractDeployment:
Expand Down
Loading