New! – Spin up instant copies of your dev databases in the cloud for free Learn more

Flyway Documentation

Poll

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

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>