Why the Spring Boot controller can't handle other requests if Thread.sleep is used?

后端 未结 0 850
北荒
北荒 2021-01-12 05:08

When we use the Thread.sleep(...) method in the Spring Boot controller, we cannot accept requests concurrently. All requests can only be processed one by one. W

相关标签:
回答
  • 消灭零回复
提交回复
热议问题