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.
0
./flyway -connectRetries=50 info
flyway.connectRetries=50
FLYWAY_CONNECT_RETRIES=50
Flyway.configure()
.connectRetries(50)
.load()
flyway {
connectRetries = 50
}
<configuration>
<connectRetries>50</connectRetries>
</configuration>