From 0b0150fa7571cb09dea077b76e6763ef871d19c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Tue, 2 Jan 2024 19:14:09 +0000 Subject: [PATCH] increase mirroring timeouts for gitea to allow for mirroring nixpkgs --- nixos/boxes/cupsnet/gitea.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/boxes/cupsnet/gitea.nix b/nixos/boxes/cupsnet/gitea.nix index 57d2daf8..f5c04fdf 100644 --- a/nixos/boxes/cupsnet/gitea.nix +++ b/nixos/boxes/cupsnet/gitea.nix @@ -111,6 +111,14 @@ in { oauth2.ENABLE = false; log.LEVEL = "Info"; actions.ENABLED = true; + "git.timeout" = { + DEFAULT = 600; + MIGRATE = 3600; + MIRROR = 3600; + CLONE = 600; + PULL = 600; + GC = 600; + }; server = { ROOT_URL = baseurl; DOMAIN = domain;