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 eZ publish attempt to connect to the database four times in total. One main attempt and three retries.

Contributors

Comments (1 historical)

Written by readers of the earlier documentation sites, kept as they were.

  1. ConnectRetries and Slave Databases

    Nguyen Tien Hy ·

    When using slave databases, is ConnectRetries applied for each slave database? (if ConnectRetries+1 times failed for a slave database, will system repeat with next slave database?)

Comments

Add a comment

Comments are read by a moderator before they appear.