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.

Only spawn the extensions reconciliation task in the collab service (#8301)

Marshall Bowersd3a38c69cd60
diff --git a/crates/collab/src/main.rs b/crates/collab/src/main.rs
index 45de396165d..5f4a24a70a2 100644
--- a/crates/collab/src/main.rs
+++ b/crates/collab/src/main.rs
@@ -63,7 +63,10 @@ async fn main() -> Result<()> {
None
};
- fetch_extensions_from_blob_store_periodically(state.clone(), Executor::Production);
+ // TODO: Once we move the extensions endpoints to run inside `api` service, move the background task as well.
+ if !is_api_only {
+ fetch_extensions_from_blob_store_periodically(state.clone(), Executor::Production);
+ }
let mut app = collab::api::routes(rpc_server.clone(), state.clone());
if let Some(rpc_server) = rpc_server.clone() {