Skip to content

Commit

Permalink
set connection TTL (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
yas-okadatech authored Mar 5, 2025
1 parent e2ecc8d commit 8cdf365
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ protected ClientConfiguration getClientConfiguration(PluginTask task)
// clientConfig.setMaxErrorRetry(3); // SDK default: 3
clientConfig.setSocketTimeout(8 * 60 * 1000); // SDK default: 50*1000
clientConfig.setRetryPolicy(PredefinedRetryPolicies.NO_RETRY_POLICY);
clientConfig.setConnectionTTL(30 * 1000); // default: -1
// TODO: implement http proxy

return clientConfig;
Expand Down

0 comments on commit 8cdf365

Please sign in to comment.