MySQL Forums
Forum List  »  Router & Proxy

Connection timeout in 0.6.0 - how can i change it ?
Posted by: Richard Uren
Date: May 05, 2009 06:40PM

Hi All,

How do I change the connection timeout in mysql-proxy 0.6.0 ?

Im running mysql-proxy with two --proxy-backend-addresses
If I launch mysql-proxy and one of those backends is down then
it takes 3 minutes to time out.

Ideally I would like mysql-proxy to timeout in 15 seconds.
Can I configure that via lua ?
Can I change the code someplace to achieve that & recompile ?

Any/all tips welcome.
.. unfortunately im not in a position to upgrade to 0.7.0 ..

Thanks.

Cheers
Richard

Options: ReplyQuote


Subject
Views
Written By
Posted
Connection timeout in 0.6.0 - how can i change it ?
7009
May 05, 2009 06:40PM


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.