Open utterances-bot opened 1 year ago
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
좋은글이네요 잘읽었습니다
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