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

* ENT-2053 Revert RPC TTL due to hanging RPC clients.

* ENT-2053 Set TTL correctly.
This commit is contained in:
Rick Parker
2018-06-15 16:57:49 +01:00
committed by GitHub
parent d054238f19
commit 999ee49804
4 changed files with 8 additions and 5 deletions

View File

@ -39,7 +39,7 @@ class ArtemisMessagingClient(private val config: SSLConfiguration,
// 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 = 60000
clientFailureCheckPeriod = -1
clientFailureCheckPeriod = 30000
minLargeMessageSize = maxMessageSize
isUseGlobalPools = nodeSerializationEnv != null
addIncomingInterceptor(ArtemisMessageSizeChecksInterceptor(maxMessageSize))