From d86ae5fc0be9a9bf42c081a555e05691d5d51623 Mon Sep 17 00:00:00 2001 From: Matthew Nesbit Date: Tue, 5 Jun 2018 10:30:35 +0100 Subject: [PATCH] I set the max retry time for AMQP at 5 minutes. This is just too long for any kind of sensible testing, so drop back to 1 minute. (#3294) --- .../corda/nodeapi/internal/protonwrapper/netty/AMQPClient.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-api/src/main/kotlin/net/corda/nodeapi/internal/protonwrapper/netty/AMQPClient.kt b/node-api/src/main/kotlin/net/corda/nodeapi/internal/protonwrapper/netty/AMQPClient.kt index b542ada21f..3118ec6757 100644 --- a/node-api/src/main/kotlin/net/corda/nodeapi/internal/protonwrapper/netty/AMQPClient.kt +++ b/node-api/src/main/kotlin/net/corda/nodeapi/internal/protonwrapper/netty/AMQPClient.kt @@ -51,7 +51,7 @@ class AMQPClient(val targets: List, val log = contextLogger() const val MIN_RETRY_INTERVAL = 1000L - const val MAX_RETRY_INTERVAL = 300000L + const val MAX_RETRY_INTERVAL = 60000L const val BACKOFF_MULTIPLIER = 2L const val NUM_CLIENT_THREADS = 2 }