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)

This commit is contained in:
Matthew Nesbit 2018-06-05 10:30:35 +01:00 committed by GitHub
parent 7bf6608c8e
commit d86ae5fc0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ class AMQPClient(val targets: List<NetworkHostAndPort>,
val log = contextLogger() val log = contextLogger()
const val MIN_RETRY_INTERVAL = 1000L 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 BACKOFF_MULTIPLIER = 2L
const val NUM_CLIENT_THREADS = 2 const val NUM_CLIENT_THREADS = 2
} }