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

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -