From 9cabf64fab3d461b787207ccbe46747fe67a1333 Mon Sep 17 00:00:00 2001 From: aumetra Date: Sun, 22 Oct 2023 01:28:42 +0200 Subject: [PATCH] prometheus-port config removed --- config.docker.toml | 3 +-- config.example.toml | 1 - crates/kitsune-config/src/lib.rs | 1 - module.nix | 4 ---- 4 files changed, 1 insertion(+), 8 deletions(-) diff --git a/config.docker.toml b/config.docker.toml index 11e4d51b4..e9fd859d0 100644 --- a/config.docker.toml +++ b/config.docker.toml @@ -27,7 +27,6 @@ frontend-dir = "./kitsune-fe/dist" max-upload-size = 5242880 # 5MB media-proxy-enabled = false port = 5000 -prometheus-port = 9000 request-timeout-secs = 60 [search] @@ -39,4 +38,4 @@ upload-dir = "./uploads" [url] scheme = "http" -domain = "localhost:5000" \ No newline at end of file +domain = "localhost:5000" diff --git a/config.example.toml b/config.example.toml index d3e1ee596..54d949408 100644 --- a/config.example.toml +++ b/config.example.toml @@ -27,7 +27,6 @@ frontend-dir = "./kitsune-fe/dist" max-upload-size = 5242880 # 5MB media-proxy-enabled = false port = 5000 -prometheus-port = 9000 request-timeout-secs = 60 [search] diff --git a/crates/kitsune-config/src/lib.rs b/crates/kitsune-config/src/lib.rs index 79f438b4f..3b69eaa2f 100644 --- a/crates/kitsune-config/src/lib.rs +++ b/crates/kitsune-config/src/lib.rs @@ -139,7 +139,6 @@ pub struct ServerConfiguration { pub media_proxy_enabled: bool, pub oidc: Option, pub port: u16, - pub prometheus_port: u16, pub request_timeout_secs: u64, } diff --git a/module.nix b/module.nix index 650a470dc..143a7630d 100644 --- a/module.nix +++ b/module.nix @@ -172,10 +172,6 @@ in type = types.port; default = 5000; }; - prometheus-port = mkOption { - type = types.port; - default = 9000; - }; request-timeout-secs = mkOption { type = types.ints.positive; default = 60;