Skip to content

Commit

Permalink
update port number in demo and rename field name
Browse files Browse the repository at this point in the history
  • Loading branch information
henil committed Dec 3, 2022
1 parent 5e31176 commit bf1120e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rumqttd/demo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ next_connection_delay_ms = 1
max_inflight_size = 1024

[prometheus]
port = 9000
port = 9042
timeout = 1

[ws]
Expand Down
3 changes: 2 additions & 1 deletion rumqttd/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ pub struct Config {
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct PrometheusSetting {
port: u16,
timeout: u64,
// How frequently to update metrics
interval: u64,
}

// TODO: Change names without _ until config-rs issue is resolved
Expand Down

0 comments on commit bf1120e

Please sign in to comment.