Skip to content

Commit 49abe5d

Browse files
authored
Merge pull request #90 from SW-DiffLens/fix#89
fix: WebClient 버퍼 수정
2 parents af3e561 + a98a20b commit 49abe5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/DiffLens/back_end/global/web/WebClientConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ public RestTemplate restTemplate() {
1818
public WebClient fastApiWebClient(@Value("${fast-api.url}") String baseUrl) {
1919
return WebClient.builder()
2020
.baseUrl(baseUrl)
21+
.codecs(configurer -> configurer.defaultCodecs().maxInMemorySize(10 * 1024 * 1024)) // 10MB
2122
.build();
2223
}
2324

0 commit comments

Comments
 (0)