From 67da2f2483250ccc040b307c1d7e12b5513e23d9 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Wed, 7 Aug 2024 19:14:05 +0300 Subject: [PATCH] host/istal: decrease timeout for the forgejo-runner --- hosts/istal/services/forgejo-runners/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hosts/istal/services/forgejo-runners/default.nix b/hosts/istal/services/forgejo-runners/default.nix index ecb44e4..7643e5b 100644 --- a/hosts/istal/services/forgejo-runners/default.nix +++ b/hosts/istal/services/forgejo-runners/default.nix @@ -16,8 +16,12 @@ labels = []; tokenFile = config.age.secrets.forgejo-runner-docker-token.path; settings = { - runner.envs = { - NODE_OPTIONS="--max_old_space_size=4096"; + runner = { + envs = { + NODE_OPTIONS="--max_old_space_size=4096"; + }; + + timeout = "1h"; }; }; };