Revert "Increase the number of parallel request handlers per connection" (#35435)

Reverts zed-industries/zed#35046

This made the problem worse ;-;

Release Notes:

- N/A
This commit is contained in:
Mikayla Maki 2025-07-31 14:31:29 -07:00 committed by GitHub
parent aea1d48184
commit 8e7f1899e1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();