Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Revert "Increase the number of parallel request handlers per connection" (#35435)
Mikayla Maki8e7f1899e1bf
diff --git a/crates/collab/src/rpc.rs b/crates/collab/src/rpc.rsindex 5c35394e1d6..56d44c0ae41 100644--- a/crates/collab/src/rpc.rs+++ b/crates/collab/src/rpc.rs@@ -838,7 +838,7 @@ impl Server {// This arrangement ensures we will attempt to process earlier messages first, but fall// back to processing messages arrived later in the spirit of making progress.let mut foreground_message_handlers = FuturesUnordered::new();- let concurrent_handlers = Arc::new(Semaphore::new(512));+ let concurrent_handlers = Arc::new(Semaphore::new(256));loop {let next_message = async {let permit = concurrent_handlers.clone().acquire_owned().await.unwrap();