We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af3e561 + a98a20b commit 49abe5dCopy full SHA for 49abe5d
src/main/java/DiffLens/back_end/global/web/WebClientConfig.java
@@ -18,6 +18,7 @@ public RestTemplate restTemplate() {
18
public WebClient fastApiWebClient(@Value("${fast-api.url}") String baseUrl) {
19
return WebClient.builder()
20
.baseUrl(baseUrl)
21
+ .codecs(configurer -> configurer.defaultCodecs().maxInMemorySize(10 * 1024 * 1024)) // 10MB
22
.build();
23
}
24
0 commit comments