forked from facebook/buck2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: d16r reported that in bxl resolve a lot of anon targets, bxl will stuck. It is because of we use `block_in_place` for eval bxl, dynamic target, and anon targets. And we will also call `block_on` for each api that will access dice, like `query`, `configured_target_node`, etc. When handling a lot of anon target, it will exceed the tokio thread pool limit. In d16r case, when it creates 511 anon target, it will stuck. {F1974276542} This diff limited the number of threads running eval anon target and dynamic output in bxl using semaphore. Reviewed By: JakobDegen Differential Revision: D68041699 fbshipit-source-id: f8f98a1e7f35baf2278dfc8f74fe5b604fc86e24
- Loading branch information
1 parent
e324b9b
commit 2b3b02d
Showing
6 changed files
with
68 additions
and
6 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
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
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
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
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
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