Harden bot: line cap, send throttle, panic isolation, verbose flag, weather cache, tests
This commit is contained in:
parent
1c320ad0c3
commit
9325150315
7 changed files with 165 additions and 10 deletions
|
|
@ -61,7 +61,7 @@ fn supervise(config: Config, labelled: bool) {
|
|||
}
|
||||
|
||||
fn run_once(config: &Config, labelled: bool) -> std::io::Result<()> {
|
||||
let mut conn = Connection::connect(&config.server, config.port, config.tls)?;
|
||||
let mut conn = Connection::connect(&config.server, config.port, config.tls, config.verbose)?;
|
||||
if labelled {
|
||||
conn.set_label(&config.name);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue