-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Remove unbounded queues from thread pool executors #18491
Copy link
Copy link
Closed
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another label>enhancementdiscuss
Description
Today, the scaling thread pool executors have unbounded queues by default, and the fixed thread pool executors can have unbounded queues if their size is set to a negative value. Unbounded queues are dangerous and should be eliminated. I think we should remove the ability for any of the thread pool executors to have unbounded queues but maybe (some of?) the scaling thread pool executors should get a caller-runs rejection policy?
Relates #14448
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Core/Infra/CoreCore issues without another labelCore issues without another label>enhancementdiscuss
Type
Fields
Give feedbackNo fields configured for issues without a type.