From 31129ece396b6c38e0449bc9c3acdb5cec144899 Mon Sep 17 00:00:00 2001 From: Joscha Date: Wed, 9 Nov 2022 19:48:26 +0100 Subject: Increase reconnect delay to one minute --- CHANGELOG.md | 1 + src/euph/room.rs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ae1b61a..f1a1122 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ Procedure when bumping the version number: ## Unreleased ### Changed +- Increase reconnect delay to one minute - Print errors that occurred while cove was running more compactly ## v0.5.0 - 2022-09-26 diff --git a/src/euph/room.rs b/src/euph/room.rs index c6bef79..3d332fd 100644 --- a/src/euph/room.rs +++ b/src/euph/room.rs @@ -21,7 +21,7 @@ use crate::macros::ok_or_return; use crate::vault::{EuphRoomVault, EuphVault}; const TIMEOUT: Duration = Duration::from_secs(30); -const RECONNECT_INTERVAL: Duration = Duration::from_secs(5); +const RECONNECT_INTERVAL: Duration = Duration::from_secs(60); const LOG_INTERVAL: Duration = Duration::from_secs(10); #[derive(Debug, thiserror::Error)] -- cgit v1.2.3