You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by da...@apache.org on 2026/02/10 10:21:37 UTC
(jackrabbit-oak) branch OAK-12088 created (now 5a4b83cca5)
This is an automated email from the ASF dual-hosted git repository.
daim pushed a change to branch OAK-12088
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
at 5a4b83cca5 OAK-12088 : added connectionAcquisitionTimeout to avoid acquire timeout issue
This branch includes the following new commits:
new 5a4b83cca5 OAK-12088 : added connectionAcquisitionTimeout to avoid acquire timeout issue
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(jackrabbit-oak) 01/01: OAK-12088 : added connectionAcquisitionTimeout to avoid acquire timeout issue
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
daim pushed a commit to branch OAK-12088
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git
commit 5a4b83cca56333e40689051d05e85ad7b0443f44
Author: rishabhdaim <ri...@gmail.com>
AuthorDate: Tue Feb 10 15:51:23 2026 +0530
OAK-12088 : added connectionAcquisitionTimeout to avoid acquire timeout issue
---
.../src/main/java/org/apache/jackrabbit/oak/blob/cloud/s3/Utils.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/oak-blob-cloud/src/main/java/org/apache/jackrabbit/oak/blob/cloud/s3/Utils.java b/oak-blob-cloud/src/main/java/org/apache/jackrabbit/oak/blob/cloud/s3/Utils.java
index 6a60793340..b9773e5b6a 100644
--- a/oak-blob-cloud/src/main/java/org/apache/jackrabbit/oak/blob/cloud/s3/Utils.java
+++ b/oak-blob-cloud/src/main/java/org/apache/jackrabbit/oak/blob/cloud/s3/Utils.java
@@ -454,6 +454,7 @@ public final class Utils {
.maxConnections(maxConnections) // Connection pool
.connectionMaxIdleTime(Duration.ofSeconds(idleTimeSeconds))
.connectionTimeToLive(Duration.ofSeconds(ttlSeconds))
+ .connectionAcquisitionTimeout(Duration.ofMillis(config.connectionTimeout)) // timeout while waiting for connection from pool
.useIdleConnectionReaper(true)
.tcpKeepAlive(true) // TCP keepalive
.expectContinueEnabled(true); // Expect-continue handshake (reduces overhead for large uploads)
@@ -499,6 +500,7 @@ public final class Utils {
.maxConcurrency(concurrency) // Connection pool - increased for better concurrency
.connectionMaxIdleTime(Duration.ofSeconds(idleTimeSeconds))
.connectionTimeToLive(Duration.ofSeconds(ttlSeconds))
+ .connectionAcquisitionTimeout(Duration.ofMillis(config.connectionTimeout)) // timeout while waiting for connection from pool
.useIdleConnectionReaper(true)
.tcpKeepAlive(true) // TCP optimizations
.eventLoopGroup(