Correct Way To Set Timeout In RestTemplate
TLDR; If you set connection timeout, you also need to explicitly set read timeout (to 0 for infinite timeout) Overview Setting timeout for HTTP connection is something most developers don’t do. However, it is vital you set this configuration right when you have to. Connection Timeout and Socket Timeout In layman’s terms, connection timeout governs … Read more