java - How spring manages threads for multiple api requests -


this question has answer here:

i working on spring project. put thread.sleep(60000) on 1 api check thread safety. if call api other apis wait time. thought every api request processed separate threads. reason behind behaviour?

issue resolved when set maxthreads in tomcat server.xml file. thank helping me resolve issue.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -