This repository has been archived by the owner on Jul 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't use try_acquire alongside spawned task
We're hitting an issue that looks similar to launchbadge/sqlx#622 I was able to work around it by disabling fairness, but we can just avoid the lookup entirely if active workers is >= the pool size. Signed-off-by: Joe Grund <jgrund@whamcloud.io>
- Loading branch information
Showing
1 changed file
with
13 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters