Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix merge conflict in collab (#9550)
Conrad Irwin5139aa38117a
diff --git a/crates/collab/src/main.rs b/crates/collab/src/main.rsindex 59b4d377afe..6d92d2e8bd4 100644--- a/crates/collab/src/main.rs+++ b/crates/collab/src/main.rs@@ -67,16 +67,6 @@ async fn main() -> Result<()> {let listener = TcpListener::bind(&format!("0.0.0.0:{}", state.config.http_port)).expect("failed to bind TCP listener");- let epoch = state- .db- .create_server(&state.config.zed_environment)- .await?;- let rpc_server = collab::rpc::Server::new(epoch, state.clone());- rpc_server.start().await?;-- fetch_extensions_from_blob_store_periodically(state.clone());- RateLimiter::save_periodically(state.rate_limiter.clone(), state.executor.clone());-let rpc_server = if is_collab {let epoch = state.db@@ -90,6 +80,10 @@ async fn main() -> Result<()> {None};+ if is_collab {+ RateLimiter::save_periodically(state.rate_limiter.clone(), state.executor.clone());+ }+if is_api {fetch_extensions_from_blob_store_periodically(state.clone());}