ENT-2053 Fix messaging TTL related settings causing disconnects (#1011)

This commit is contained in:
Rick Parker 2018-06-18 17:40:03 +01:00 committed by GitHub
parent 41ffde01f0
commit c7c38fd91c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,8 +75,8 @@ class BridgeArtemisConnectionServiceImpl(val conf: BridgeConfiguration,
locator = ActiveMQClient.createServerLocatorWithoutHA(*tcpTransports.toTypedArray()).apply {
// Never time out on our loopback Artemis connections. If we switch back to using the InVM transport this
// would be the default and the two lines below can be deleted.
connectionTTL = -1
clientFailureCheckPeriod = -1
connectionTTL = 60000
clientFailureCheckPeriod = 30000
minLargeMessageSize = maxMessageSize
isUseGlobalPools = nodeSerializationEnv != null
confirmationWindowSize = conf.p2pConfirmationWindowSize