From 6019487899513c7fc711b9a9c07e4517c5de19e2 Mon Sep 17 00:00:00 2001 From: Blake Jakopovic Date: Sat, 10 Dec 2022 11:57:13 +0100 Subject: [PATCH] Fix for --connect-timeout --- CHANGELOG.md | 3 +++ Cargo.lock | 2 +- Cargo.toml | 2 +- src/lib.rs | 4 ++-- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b1e90d9..f804300 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## v0.3.3 +* Fixed --connect-timeout default to 10 seconds (not ms) + ## v0.3.2 * Switched from threads back to async * Increased --connect-timeout default to 10 seconds diff --git a/Cargo.lock b/Cargo.lock index 7495a29..1b6a1fa 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -306,7 +306,7 @@ dependencies = [ [[package]] name = "nostcat" -version = "0.3.2" +version = "0.3.3" dependencies = [ "clap", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 6dcf51d..52e514f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "nostcat" description = "Websocket client for nostr relay scripting" -version = "0.3.2" +version = "0.3.3" edition = "2021" repository = "https://github.com/blakejakopovic/nostcat" license-file = "LICENSE" diff --git a/src/lib.rs b/src/lib.rs index 7fd4e19..561c6ec 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -30,7 +30,7 @@ impl Response { pub fn cli() -> Command { Command::new("nostcat") .about("Websocket client for nostr relay scripting") - .version("0.3.2") + .version("0.3.3") .author("Blake Jakopovic") .arg_required_else_help(true) .arg( @@ -58,7 +58,7 @@ pub fn cli() -> Command { .required(false) .num_args(1) .value_parser(clap::value_parser!(u64)) - .default_value("10"), + .default_value("10000"), ) .arg( Arg::new("servers")