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.

Try using a longer timeout for cleaning up stale rooms

Antonio Scandurra9530976f617a
diff --git a/crates/collab/src/rpc.rs b/crates/collab/src/rpc.rs
index 69794ab35ae..e1b00562264 100644
--- a/crates/collab/src/rpc.rs
+++ b/crates/collab/src/rpc.rs
@@ -58,7 +58,7 @@ use tower::ServiceBuilder;
use tracing::{info_span, instrument, Instrument};
pub const RECONNECT_TIMEOUT: Duration = Duration::from_secs(5);
-pub const CLEANUP_TIMEOUT: Duration = Duration::from_secs(10);
+pub const CLEANUP_TIMEOUT: Duration = Duration::from_secs(20);
lazy_static! {
static ref METRIC_CONNECTIONS: IntGauge =