summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoscha <joscha@plugh.de>2022-11-09 19:48:26 +0100
committerJoscha <joscha@plugh.de>2022-11-09 19:57:43 +0100
commit31129ece396b6c38e0449bc9c3acdb5cec144899 (patch)
tree33b1a9c843a7d7418bf8a8bc82f2119295e424e1
parentbf2732eccd09f716b1ea2c48fa690425e9c6e0d2 (diff)
Increase reconnect delay to one minute
-rw-r--r--CHANGELOG.md1
-rw-r--r--src/euph/room.rs2
2 files changed, 2 insertions, 1 deletions
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)]