behavior of initialTimeout in connection string
Posted by: Elie Wildman
Date: March 08, 2005 10:17AM

I hope that someone can confirm the behavior of the initilaTimeout and autoReconnect parameters that are sent via the connection string.

According to what I know, if autoConnect = true, then the driver will attempt to reconnect the amount of times specified in the maxReconnects parameter. Further, there is a delay between each reconnect attempt. According to the documentation, the intial delay between reconnecting is set by the parameter initialTimeout, or it defaults to 2 seconds.

Note the term "initial". What happens after the initial value. According to one bug fix I saw on the mysql site, it seems to imply that this is exponential? Is that correct? Meaning the delay starts as 2, but then will proceed to 4,8,16....This will very quickly become pretty large.

Is this true?

Elie Wildman

Options: ReplyQuote

Written By
behavior of initialTimeout in connection string
March 08, 2005 10:17AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.