Skip to the content
Documentation

ConnectRetries

No ratings yet

Summary

Sets the number of database connection retries.

Usage

ConnectRetries= number

Description

This directive can be used to set the number of times Exponential should attempt to connect to the database if the initial attempt fails. Note that the number of actual connection attempts equals the initial attempt plus the number of retries specified by this directive. In other words, if the number of connection retries is set to 3, Exponential will attempt to connect to the database 4 times before giving up and generating an error message.

Examples

ConnectRetries=3

This setting makes Exponential attempt to connect to the database four times in total. One main attempt and three retries.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.