From 5e62dde00c478f093d009b54780e735a2ba0c75c Mon Sep 17 00:00:00 2001 From: dawn Date: Wed, 7 Oct 2026 00:38:18 +0300 Subject: [PATCH] spindle: drop the unused QUEUE_SIZE setting Signed-off-by: dawn --- nix/modules/spindle.nix | 8 -------- nix/vm.nix | 1 - spindle/config/config.go | 1 - 3 files changed, 10 deletions(-) diff --git a/nix/modules/spindle.nix b/nix/modules/spindle.nix index ddc11397..876cf13c 100644 --- a/nix/modules/spindle.nix +++ b/nix/modules/spindle.nix @@ -76,13 +76,6 @@ in description = "Maximum number of concurrent jobs to run"; }; - queueSize = mkOption { - type = types.int; - default = 100; - example = 100; - description = "Maximum number of jobs queue up"; - }; - corsOrigins = mkOption { type = types.listOf types.str; default = []; @@ -730,7 +723,6 @@ in "SPINDLE_SERVER_DEV=${lib.boolToString instance.server.dev}" "SPINDLE_SERVER_OWNER=${instance.server.owner}" "SPINDLE_SERVER_MAX_JOB_COUNT=${toString instance.server.maxJobCount}" - "SPINDLE_SERVER_QUEUE_SIZE=${toString instance.server.queueSize}" "SPINDLE_SERVER_CORS_ORIGINS=${concatStringsSep "," instance.server.corsOrigins}" "SPINDLE_SERVER_SECRETS_PROVIDER=${instance.server.secrets.provider}" "SPINDLE_SERVER_SECRETS_OPENBAO_PROXY_ADDR=${instance.server.secrets.openbao.proxyAddr}" diff --git a/nix/vm.nix b/nix/vm.nix index b312f18b..bcfddf01 100644 --- a/nix/vm.nix +++ b/nix/vm.nix @@ -155,7 +155,6 @@ in jetstreamEndpoint = jetstream; listenAddr = "0.0.0.0:6555"; dev = true; - queueSize = 100; maxJobCount = 2; secrets = { provider = "sqlite"; diff --git a/spindle/config/config.go b/spindle/config/config.go index 61d26302..7a8ca065 100644 --- a/spindle/config/config.go +++ b/spindle/config/config.go @@ -26,7 +26,6 @@ type Server struct { Owner string `env:"OWNER"` Secrets Secrets `env:",prefix=SECRETS_"` LogDir string `env:"LOG_DIR, default=/var/log/spindle"` - QueueSize int `env:"QUEUE_SIZE, default=100"` MaxJobCount int `env:"MAX_JOB_COUNT, default=2"` // max number of pipelines that run at a time DockerSocket string `env:"DOCKER_SOCKET"` // path to a docker socket to expose to workflow containers CorsOrigins []string `env:"CORS_ORIGINS"` // origins browsers may call xrpc from, "*" for any. empty leaves cors off -- 2.51.2