Skip to content

Commit

Permalink
Use available cores for io thread processing (apache#7689)
Browse files Browse the repository at this point in the history
Co-authored-by: Sanjeev Kulkarni <[email protected]>
  • Loading branch information
srkukarni and Sanjeev Kulkarni authored Jul 29, 2020
1 parent 292fef6 commit 89b2eff
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ && isNotBlank(authConfig.getClientAuthenticationParameters())) {
clientBuilder.enableTlsHostnameVerification(authConfig.isTlsHostnameVerificationEnable());
clientBuilder.tlsTrustCertsFilePath(authConfig.getTlsTrustCertsFilePath());
}
clientBuilder.ioThreads(Runtime.getRuntime().availableProcessors());
return clientBuilder.build();
}
return null;
Expand Down

0 comments on commit 89b2eff

Please sign in to comment.