Redgate Summit – The Database DevOps Transformation Watch now
PASS Data Community Summit logo

PASS Data Community Summit

A hybrid conference in Seattle and online

15-18 November

Flyway Documentation

This documentation is deprecated. The new documentation can now be found on documentation.red-gate.com

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>