SpringBoot has two ways to set the interface access timeout period
1. Add it to the configuration file application.properties Spring.mvc.async.request-timeout=20000, which means setting the timeout to 20000ms or 20s,
Second, there is another way to add:
1 2 3 4 5 6 7 8 9 10 11 |
|
The above is the detailed content of SpringBoot sets interface timeout. For more information, please follow other related articles on the PHP Chinese website!