core
core copied to clipboard
feat: switch webclient to rest template in proxies
Description
We recently faced a lot of 502 response when calling the API module, although the main cause is not still clear for us, we can detect signs of memory leaks by WebClient.
In this PR, all WebClients in Proxy classes are replaced with RestTemplate, we only kept WebClient for SecurityConfig as it still uses Webflux.