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
5 changes: 4 additions & 1 deletion infra/tf/k8s_infra/nomad.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion svc/pkg/mm/worker/src/workers/lobby_ready_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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! {
Expand Down