From 54c18fcebdb5d3e5d9c40e7094644f4e1d59dde3 Mon Sep 17 00:00:00 2001 From: servius Date: Mon, 11 May 2026 06:48:59 +0530 Subject: [PATCH] feat: Use WAL mode for gitea --- nixos/tako/services/gitea.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nixos/tako/services/gitea.nix b/nixos/tako/services/gitea.nix index ace8598..f28774e 100644 --- a/nixos/tako/services/gitea.nix +++ b/nixos/tako/services/gitea.nix @@ -41,6 +41,10 @@ enable = true; lfs.enable = true; settings = { + database = { + SQLITE_JOURNAL_MODE = "WAL"; + SQLITE_TIMEOUT = 5000; + }; service = { DISABLE_REGISTRATION = false; ALLOW_ONLY_EXTERNAL_REGISTRATION = true; -- 2.51.2