Add remote autoscaler daemon endpoint support
This commit is contained in:
parent
95021a4253
commit
679b5c8d07
11 changed files with 291 additions and 22 deletions
|
|
@ -3,7 +3,9 @@ from dataclasses import dataclass
|
|||
|
||||
@dataclass(frozen=True)
|
||||
class AutoscaleSettings:
|
||||
daemon_socket: str
|
||||
daemon_socket: str | None = "/run/nix-builder-autoscaler/daemon.sock"
|
||||
daemon_url: str | None = None
|
||||
daemon_auth_token: str | None = None
|
||||
system_property: str = "system"
|
||||
default_system: str = "x86_64-linux"
|
||||
reserve_timeout_seconds: int = 900
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue