search for: opt_connect_timeout

Displaying 1 result from an estimated 1 matches for "opt_connect_timeout".

2006 Jul 20
1
guru needed: connecting to a second (remote) db that may not be available
...times-out. I would very much like to change the timeout value to something lower so my rails app can continue to operate at least semi-normally while the remote db is unavailable. i tried using verification_timeout, not sure if i did something wrong but it didn''t work.. tried Mysql::OPT_CONNECT_TIMEOUT (or something like that) and that didn''t seem to do much either, again not sure if i used it right (both have slim to none documentation).. lastly i tried wrapping different stuff in a Timeout::timeout block (establish_connection, connect code in connection_adapter code, etc etc) NO DI...