Spring RestTemplate timeout configuration example
By default, resttemplate uses timeout property from JDK installed on the machine which is always infinite in not overridden. To override the default JVM timeout, we can pass these properties during JVM start.
Or RestTemplate — default timeout value answer state that Spring RestTemplate has infinite timeout by default.
Is good practice to have infinite timeouts? Isn't it potential source of hidden problems? Shouldn't opinionated framework like Spring Boot set initial values for timeouts?