Skip to content

Commit

Permalink
prometheus-port config removed
Browse files Browse the repository at this point in the history
  • Loading branch information
aumetra committed Oct 21, 2023
1 parent b3e77db commit 9cabf64
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
3 changes: 1 addition & 2 deletions config.docker.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand All @@ -39,4 +38,4 @@ upload-dir = "./uploads"

[url]
scheme = "http"
domain = "localhost:5000"
domain = "localhost:5000"
1 change: 0 additions & 1 deletion config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
1 change: 0 additions & 1 deletion crates/kitsune-config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ pub struct ServerConfiguration {
pub media_proxy_enabled: bool,
pub oidc: Option<OidcConfiguration>,
pub port: u16,
pub prometheus_port: u16,
pub request_timeout_secs: u64,
}

Expand Down
4 changes: 0 additions & 4 deletions module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9cabf64

Please sign in to comment.