Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Wait longer before deleting outdated rooms from the database

Max Brunsfeld6ad326ac588d
diff --git a/crates/collab/src/rpc.rs b/crates/collab/src/rpc.rs
index 89aec5bb05f..e52ecbb0c27 100644
--- a/crates/collab/src/rpc.rs
+++ b/crates/collab/src/rpc.rs
@@ -57,7 +57,7 @@ use tokio::sync::watch;
use tower::ServiceBuilder;
use tracing::{info_span, instrument, Instrument};
-pub const RECONNECT_TIMEOUT: Duration = rpc::RECEIVE_TIMEOUT;
+pub const RECONNECT_TIMEOUT: Duration = Duration::from_secs(60);
lazy_static! {
static ref METRIC_CONNECTIONS: IntGauge =