The maximum number of retries when attempting to connect to the database. After each failed attempt, Flyway will wait 1 second before attempting to connect again, up to the maximum number of times specified by connectRetries. The interval between retries doubles with each subsequent attempt.
0
./flyway -connectRetries=10 info
flyway.connectRetries=10
FLYWAY_CONNECT_RETRIES=10
Flyway.configure()
.connectRetries(10)
.load()
flyway {
connectRetries = 10
}
<configuration>
<connectRetries>10</connectRetries>
</configuration>