From 6fc59aa0dac16e7a6fe6d876f58fac0a27fc6ed2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 6 Nov 2013 16:17:11 +0100 Subject: [PATCH] hydra-module.nix: Remove the useWAL option This is not a Hydra option but a Nix option so it shouldn't be here. --- hydra-module.nix | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/hydra-module.nix b/hydra-module.nix index e5d12c32..2fa27629 100644 --- a/hydra-module.nix +++ b/hydra-module.nix @@ -18,7 +18,7 @@ let OPENSSL_X509_CERT_FILE = "/etc/ssl/certs/ca-bundle.crt"; GIT_SSL_CAINFO = "/etc/ssl/certs/ca-bundle.crt"; }; - + serverEnv = env // { HYDRA_LOGO = if cfg.logo != null then cfg.logo else ""; HYDRA_TRACKER = cfg.tracker; @@ -108,13 +108,6 @@ in ''; }; - useWAL = mkOption { - default = true; - description = '' - Whether to use SQLite's Write-Ahead Logging, which may improve performance. - ''; - }; - debugServer = mkOption { default = false; type = types.bool; @@ -163,12 +156,10 @@ in build-cache-failure = true build-poll-interval = 10 - + # Online log compression makes it impossible to get the tail of # builds that are in progress. build-compress-log = false - - use-sqlite-wal = ${if cfg.useWAL then "true" else "false"} ''; systemd.services."hydra-init" = @@ -198,7 +189,7 @@ in serviceConfig.Type = "oneshot"; serviceConfig.RemainAfterExit = true; }; - + systemd.services."hydra-server" = { wantedBy = [ "multi-user.target" ]; wants = [ "hydra-init.service" ];