Bug 69133 - Add property for max queue size to AbstractProtocol
Summary: Add property for max queue size to AbstractProtocol
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 10
Classification: Unclassified
Component: Connectors (show other bugs)
Version: 10.1.24
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ------
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-12 08:13 UTC by Moritz Halbritter
Modified: 2024-06-12 10:10 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Halbritter 2024-06-12 08:13:33 UTC
Hello,

what do you think about adding a setter for the max queue size on AbstractProtocol? It already has setters for max threads, min spare threads etc which are then set on the AbstractEndpoint, so I think having a setter for the queue size would be good for consistency.

We already tried to use a custom executor to configure the queue size, however that has created regressions in Spring Boot: https://github.com/spring-projects/spring-boot/issues/40957 and https://github.com/spring-projects/spring-boot/issues/40945.

Thanks!
Comment 1 Remy Maucherat 2024-06-12 10:01:49 UTC
This is good for consistency. It will be in 11.0.0-M21, 10.1.25 and 9.0.90.
Comment 2 Moritz Halbritter 2024-06-12 10:10:57 UTC
That was fast. Thanks a lot!