yangbongsoo / tistory-comments

0 stars 0 forks source link

30 #13

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Webclient Timeout 과 connection pool 전략

1) Webclient timeout new ReactorClientHttpConnector( reactorResourceFactory, httpClient -> httpClient .option(ChannelOption.CONNECT_TIMEOUT_MILLIS, 5000) .doOnConnected(connection -> connection.addHandlerLast(new ReadTimeoutHandler(5) ).addHandlerLast(new WriteTimeoutHandler(5)) ).responseTimeout(Duration.ofSeconds(5)) // 0.9.11 부터 추가 ); ChannelOption.CONNECT_TIMEOUT_MILLIS 는 서버와 커넥션 맺는데 기다리는 시간..

https://yangbongsoo.tistory.com/30

jihoon-MRX commented 1 year ago

좋은글이네요 잘읽었습니다