- Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Labels
type: documentationA documentation updateA documentation update
Milestone
Description
Springboot version - 3.3.4
java - 21
I have used following settings to test tomcat with springboot. i want to check when tomcat rejects the requests.
server.tomcat.accept-count=0
server.tomcat.threads.max=1
server.tomcat.maxConnections=1
server.tomcat.threads.min-spare=1
server.tomcat.threads.maxQueueCapacity=0
I have a controller method where i put a sleep of 5 seconds and i am hitting same endpoint from multiple terminals. Ideally other parallel requests should be rejected with an error but in my case requests are executing sequenclly once previous gets completed.
Could anyone please help what i am doing wrong here ?
Metadata
Metadata
Assignees
Labels
type: documentationA documentation updateA documentation update