Connect Retries Interval
Published 31 October 2023
Connect Retries Interval
Description
The maximum time between retries when attempting to connect to the database in seconds. This will cap the interval between connect retries to the value provided.
Default
120
Usage
Commandline
./flyway -connectRetriesInterval=60 info
To configure a named environment via command line when using a TOML configuration, prefix connectRetriesInterval
with environments.{environment name}.
for example:
./flyway -environments.sample.connectRetriesInterval=60 info
TOML Configuration File
[environments.default]
connectRetriesInterval = 60
Configuration File
flyway.connectRetriesInterval=60
Environment Variable
FLYWAY_CONNECT_RETRIES_INTERVAL=60
API
Flyway.configure()
.connectRetriesInterval(60)
.load()
Gradle
flyway {
connectRetriesInterval = 60
}
Maven
<configuration>
<connectRetriesInterval>60</connectRetriesInterval>
</configuration>