Add connect timeouts
commitdcdd152d002d6be813816ab380af9d99477a59f3
authordormando <dormando@rydia.net>
Sat, 28 Jan 2012 01:56:51 +0000 (27 17:56 -0800)
committerdormando <dormando@rydia.net>
Sat, 28 Jan 2012 01:56:51 +0000 (27 17:56 -0800)
tree49c47e913e74aeeabf34778fa7b205461b075d60
parent315ea1fee68c0281ee0005402e2f5dd4a180744a
Add connect timeouts

This should work with the primarily supported databases.

Mainly this is for slave setups, so slaves which are broken but not
immediately RST'ing or error'ing get backed off from.

You'll still get some watchdog hits when a slave first dies, but it'll handle
it properly from there with minimal delays.
lib/MogileFS/Store.pm