sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [15/26] sentry git commit: SENTRY-1984: Decrease number of max idle connections for Sentry clients (Sergio Pena, reviewed by Alexander Kolbasov)
Date Thu, 19 Oct 2017 08:59:56 GMT
SENTRY-1984: Decrease number of max idle connections for Sentry clients (Sergio Pena, reviewed
by Alexander Kolbasov)


Project: http://git-wip-us.apache.org/repos/asf/sentry/repo
Commit: http://git-wip-us.apache.org/repos/asf/sentry/commit/dbfd7fa8
Tree: http://git-wip-us.apache.org/repos/asf/sentry/tree/dbfd7fa8
Diff: http://git-wip-us.apache.org/repos/asf/sentry/diff/dbfd7fa8

Branch: refs/heads/akolb-cli
Commit: dbfd7fa867ab3a7056a37ce0a1a385097388fd21
Parents: 9927bc4
Author: Sergio Pena <sergio.pena@cloudera.com>
Authored: Mon Oct 16 10:54:52 2017 -0500
Committer: Sergio Pena <sergio.pena@cloudera.com>
Committed: Mon Oct 16 10:55:45 2017 -0500

----------------------------------------------------------------------
 .../core/common/transport/SentryClientTransportConstants.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sentry/blob/dbfd7fa8/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/transport/SentryClientTransportConstants.java
----------------------------------------------------------------------
diff --git a/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/transport/SentryClientTransportConstants.java
b/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/transport/SentryClientTransportConstants.java
index d7f43dd..c2a95b6 100644
--- a/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/transport/SentryClientTransportConstants.java
+++ b/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/transport/SentryClientTransportConstants.java
@@ -119,7 +119,7 @@ public final class SentryClientTransportConstants {
     static final String SENTRY_POOL_MAX_TOTAL = "sentry.service.client.connection.pool.max-total";
     static final int SENTRY_POOL_MAX_TOTAL_DEFAULT = -1;
     static final String SENTRY_POOL_MAX_IDLE = "sentry.service.client.connection.pool.max-idle";
-    static final int SENTRY_POOL_MAX_IDLE_DEFAULT = 400;
+    static final int SENTRY_POOL_MAX_IDLE_DEFAULT = 100;
     static final String SENTRY_POOL_MIN_IDLE = "sentry.service.client.connection.pool.min-idle";
     static final int SENTRY_POOL_MIN_IDLE_DEFAULT = 10;
     static final String SENTRY_POOL_MIN_EVICTION_TIME_SEC =


Mime
View raw message