From 2b58d063dd3543bd04308d53c877e6ccd1cf8f61 Mon Sep 17 00:00:00 2001 From: Revertron Date: Tue, 13 Apr 2021 19:17:05 +0200 Subject: [PATCH] Increased DNS client timeout from 1 second to 3. Added YGGv6 address to bootstrap peers. Incremented version. --- Cargo.toml | 2 +- alfis.toml | 2 +- src/dns/client.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a0ff669..2e73156 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "alfis" -version = "0.4.1" +version = "0.4.2" authors = ["Revertron "] edition = "2018" build = "build.rs" diff --git a/alfis.toml b/alfis.toml index c9460b9..98affd8 100644 --- a/alfis.toml +++ b/alfis.toml @@ -6,7 +6,7 @@ key_file = "default.key" # Network settings [net] # All bootstap nodes -peers = ["test-ip4.alfis.name:4244", "test-ip6.alfis.name:4244"] +peers = ["test-ip4.alfis.name:4244", "test-ip6.alfis.name:4244", "[300:1251::1]:4244"] # Your node will listen on that address for other nodes to connect listen = "[::]:4244" # Set true if you want your IP to participate in peer-exchange, or false otherwise diff --git a/src/dns/client.rs b/src/dns/client.rs index 034b56d..d81a357 100644 --- a/src/dns/client.rs +++ b/src/dns/client.rs @@ -308,7 +308,7 @@ impl DnsClient for DnsNetworkClient { Builder::new() .name("DnsNetworkClient-timeout-thread".into()) .spawn(move || { - let timeout = Duration::seconds(1); + let timeout = Duration::seconds(3); loop { if let Ok(mut pending_queries) = pending_queries_lock.lock() { let mut finished_queries = Vec::new();