Caution: This documentation is for eZ Publish legacy, from version 3.x to 6.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

ConnectRetries

Summary

Sets the number of database connection retries.

Usage

 

ConnectRetries= number

Description

This directive can be used to set the number of times eZ Publish 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, eZ Publish 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.

Frederik Holljen (01/02/2005 9:58 am)

Julia Shymova (16/04/2007 8:26 am)

Frederik Holljen, Julia Shymova


Comments

  • ConnectRetries and Slave Databases

    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?)