Merge pull request #2357 from corda/aslemmer-workaround-excessive-epoll-fds

Use single thread per netty eventgroup during testing
This commit is contained in:
Christian Sailer 2018-01-15 12:42:36 +00:00 committed by GitHub
commit 591e37adb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,8 @@ class ArtemisTcpTransport {
// It does not use AMQP messages for its own messages e.g. topology and heartbeats.
// TODO further investigate how to ensure we use a well defined wire level protocol for Node to Node communications.
TransportConstants.PROTOCOLS_PROP_NAME to "CORE,AMQP",
TransportConstants.USE_GLOBAL_WORKER_POOL_PROP_NAME to (nodeSerializationEnv != null)
TransportConstants.USE_GLOBAL_WORKER_POOL_PROP_NAME to (nodeSerializationEnv != null),
TransportConstants.REMOTING_THREADS_PROPNAME to (if (nodeSerializationEnv != null) -1 else 1)
)
if (config != null && enableSSL) {