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:
parent
aea1d48184
commit
8e7f1899e1
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue