lhotari commented on a change in pull request #8386:
URL: https://github.com/apache/pulsar/pull/8386#discussion_r512627254



##########
File path: .github/workflows/ci-cpp.yaml
##########
@@ -26,6 +26,9 @@ on:
     branches:
       - branch-*
 
+env:
+  MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=25 
-Dmaven.wagon.http.retryHandler.count=3

Review comment:
       I was thinking about that. However I'm not exactly sure if the GitHub 
Flows environment is an Azure environment as referenced in WAGON-545.
   
   The reason for the 25 second TTL is to ensure that it's shorter than any 
common firewall or NAT timeout. Some NATs have a 30 second idle timeout 
although that is very rare.
   
   There shouldn't be harm in using the 25 second TTL since the connection pool 
will be able to pool connections well with a 25 second TTL. I don't see a 
reason to extend it to 240 seconds since there's not really a benefit.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to