Bug 69133 - Add property for max queue size to AbstractProtocol
Summary: Add property for max queue size to AbstractProtocol
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
Depends on:
Reported: 2024-06-12 08:13 UTC by Moritz Halbritter
Modified: 2024-06-12 10:10 UTC (History)
1 user (show)


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

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.

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!