Skip to content

Commit

Permalink
default values for timeouts in Config serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Keksoj committed Mar 16, 2023
1 parent cbca836 commit 35a43ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions command/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1236,15 +1236,15 @@ pub struct Config {
}

fn default_front_timeout() -> u32 {
60
DEFAULT_FRONT_TIMEOUT
}

fn default_back_timeout() -> u32 {
30
DEFAULT_BACK_TIMEOUT
}

fn default_connect_timeout() -> u32 {
3
DEFAULT_CONNECT_TIMEOUT
}

//defaults to 30mn
Expand Down

0 comments on commit 35a43ee

Please sign in to comment.