diff --git a/infra/tf/k8s_infra/nomad.tf b/infra/tf/k8s_infra/nomad.tf index daa91b2d2a..f301d44cf6 100644 --- a/infra/tf/k8s_infra/nomad.tf +++ b/infra/tf/k8s_infra/nomad.tf @@ -60,7 +60,10 @@ locals { } nomad_checksum_configmap = sha256(jsonencode(local.nomad_server_configmap_data)) - # Recommendations: https://developer.hashicorp.com/nomad/docs/install/production/requirements#resources-ram-cpu-etc + # This default is intended for testing & small games. + # + # If running at scale in production, see the recommended resource configuration: + # https://developer.hashicorp.com/nomad/docs/install/production/requirements#resources-ram-cpu-etc service_nomad = lookup(var.services, "nomad", { count = 1 resources = { diff --git a/svc/pkg/mm/worker/src/workers/lobby_ready_set.rs b/svc/pkg/mm/worker/src/workers/lobby_ready_set.rs index c0f69c0992..16d0201959 100644 --- a/svc/pkg/mm/worker/src/workers/lobby_ready_set.rs +++ b/svc/pkg/mm/worker/src/workers/lobby_ready_set.rs @@ -7,7 +7,7 @@ use tokio::time::Duration; /// /// Traefik updates every 500 ms and we give an extra 500 ms for grace. /// -/// See also svc/pkg/job-run/worker/src/workers/create/mod.rs @ TRAEFIK_GRACE_MS +/// See also svc/pkg/job-run/worker/src/workers/create/mod.rs @ TRAEFIK_GRACE const TRAEFIK_GRACE_MS: i64 = 1_000; lazy_static::lazy_static! {