3.8.9. ConnectTimeout Previous topic Parent topic Child topic Next topic

This optional parameter specifies a timeout interval in seconds that Radiator waits for when trying to connect or disconnect an SQL server specified by DBSource. If this parameter is not set, value of Timeout is used for connection handling. For more information about Timeout, see Section 3.8.5. Timeout.
Some databases may leak resources, such as file descriptors, when Radiator times out a connection before the DB driver does. With ConnectTimeout, SQL connection timeout can different than Timeout that is used for SQL queries.
# DB driver connect timeout is shorter than 20 seconds
# but we want 2 second query timeout
ConnectTimeout 20
Timeout 2