You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.out.println("Took " + (System.currentTimeMillis() - startTimer) + "ms to close expired and idl conn, now stats is "+poolConnMgr.getTotalStats());
46
+
//System.out.println("Took " + (System.currentTimeMillis() - startTimer) + "ms to close expired and idl conn, now stats is "+poolConnMgr.getTotalStats());
# Following configure parameters will only work with useHttpClientWithConnectionPool=true
23
-
# Optional parameters, default values configured in application
24
-
maxConnections=1000
25
-
defaultMaxConnectionsPerRoute=1000
26
-
maxConnectionsPerRoute=1000
27
-
connectionRequestTimeoutMs=1000
28
-
connectionTimeoutMs=2000
29
-
socketTimeoutMs=2000
30
-
evictThreadSleepTimeMs=3000
31
-
maxKeepAliveTimeMs=30000
32
-
24
+
# Both useHttpClient and useHttpClientWithConnectionPool cannot be true at same time.
25
+
#maxConnections=1000
26
+
#defaultMaxConnectionsPerRoute=1000
27
+
#maxConnectionsPerRoute=1000
28
+
#connectionRequestTimeoutMs=1000
29
+
#connectionTimeoutMs=5000
30
+
#socketTimeoutMs=13000
31
+
#evictThreadSleepTimeMs=3000
32
+
#maxKeepAliveTimeMs=30000
33
33
34
-
# Following configure parameters will only work with useHttpClient=true or usePoolingHttpClient=true
34
+
# Following retry parameters are required only in case of useHttpClient=true or usePoolingHttpClient=true
35
35
# "allow retry" property toggle value "true/false" to turn on /off the auto request retry.
36
36
# Number of retries is the number of attempts made to send the request.
37
37
# Retry interval is the wait time in between the attempts to send the request.
@@ -50,7 +50,7 @@ retryInterval=1000
50
50
# program will read it from keysDirectory path.
51
51
enableJdkCert=false
52
52
53
-
# If 'enableCacert' property parameter is set to true, certificates will be read from the cacerts file specified at keysDirectory location.
53
+
# If 'enableCacert' property parameter is set to true, certificates will be read from the cacerts file specified at keysDirectory location.
54
54
# If keysDirectory path is not set,certificate will be loaded from Java Installation cacerts file. The cacerts file should be of the same name as specified in keyFilename.
55
55
enableCacert=false
56
56
# Enter the password for cacert file. Default password for JDK cacert is changeit
@@ -59,24 +59,23 @@ cacertPassword=
59
59
# Mechanism to differentiate whether Payload is encrypted or not
60
60
useSignAndEncrypted=false
61
61
62
-
timeout=1000
62
+
timeout=10
63
63
64
64
# logging should normally be disabled in production as it would slow down the
65
65
# processing. Enable it only when troubleshooting an issue.
66
66
enableLog=true
67
67
logDirectory=../../logs
68
68
logMaximumSize=10
69
69
70
-
# If this property is set to false then the p12 certificate of a merchant will be reloaded
71
-
# every time a transaction is made
72
-
70
+
# If this property is set to false then the p12 certificate of a merchant will be reloaded
71
+
# every time a transaction is made
73
72
certificateCacheEnabled=true
74
73
74
+
#If this property is set to true we will cache the merchantConfig object based on keyAlias/merchantID
75
+
merchantConfigCacheEnabled=false
76
+
75
77
# Optional proxy server settings
76
78
#proxyHost=<-- Set the Proxy Host-->
77
79
#proxyPort=< -- Set the Proxy port-->
78
80
#proxyUser=< -- Proxy user name-->
79
-
#proxyPassword=< -- Proxy passsword-->
80
-
81
-
#If this property is set to true we will cache the merchantConfig object based on keyAlias/merchantID
# Following configure parameters will only work with useHttpClientWithConnectionPool=true
23
-
# Optional parameters, default values configured in application
24
-
enabledShutdownHook=true
25
-
maxConnections=1000
26
-
defaultMaxConnectionsPerRoute=1000
27
-
maxConnectionsPerRoute=1000
28
-
connectionRequestTimeoutMs=1000
29
-
connectionTimeoutMs=2000
30
-
socketTimeoutMs=2000
31
-
evictThreadSleepTimeMs=3000
32
-
maxKeepAliveTimeMs=30000
24
+
# Both useHttpClient and useHttpClientWithConnectionPool cannot be true at same time.
25
+
#maxConnections=1000
26
+
#defaultMaxConnectionsPerRoute=1000
27
+
#maxConnectionsPerRoute=1000
28
+
#connectionRequestTimeoutMs=1000
29
+
#connectionTimeoutMs=5000
30
+
#socketTimeoutMs=13000
31
+
#evictThreadSleepTimeMs=3000
32
+
#maxKeepAliveTimeMs=30000
33
33
34
-
# Following configure parameters will only work with useHttpClient=true or usePoolingHttpClient=true
34
+
# Following retry parameters are required only in case of useHttpClient=true or usePoolingHttpClient=true
35
35
# "allow retry" property toggle value "true/false" to turn on /off the auto request retry.
36
36
# Number of retries is the number of attempts made to send the request.
37
37
# Retry interval is the wait time in between the attempts to send the request.
@@ -50,7 +50,7 @@ retryInterval=1000
50
50
# program will read it from keysDirectory path.
51
51
enableJdkCert=false
52
52
53
-
# If 'enableCacert' property parameter is set to true, certificates will be read from the cacerts file specified at keysDirectory location.
53
+
# If 'enableCacert' property parameter is set to true, certificates will be read from the cacerts file specified at keysDirectory location.
54
54
# If keysDirectory path is not set,certificate will be loaded from Java Installation cacerts file. The cacerts file should be of the same name as specified in keyFilename.
55
55
enableCacert=false
56
56
# Enter the password for cacert file. Default password for JDK cacert is changeit
@@ -67,18 +67,15 @@ enableLog=true
67
67
logDirectory=../../logs
68
68
logMaximumSize=10
69
69
70
-
# If this property is set to false then the p12 certificate of a merchant will be reloaded
71
-
# every time a transaction is made
72
-
70
+
# If this property is set to false then the p12 certificate of a merchant will be reloaded
71
+
# every time a transaction is made
73
72
certificateCacheEnabled=true
74
73
75
-
74
+
#If this property is set to true we will cache the merchantConfig object based on keyAlias/merchantID
75
+
merchantConfigCacheEnabled=false
76
76
77
77
# Optional proxy server settings
78
78
#proxyHost=<-- Set the Proxy Host-->
79
79
#proxyPort=< -- Set the Proxy port-->
80
80
#proxyUser=< -- Proxy user name-->
81
-
#proxyPassword=< -- Proxy passsword-->
82
-
83
-
#If this property is set to true we will cache the merchantConfig object based on keyAlias/merchantID
0 commit comments