httpfile: remove size check failure backoff handling
commita78bc668ab900135d253a058d4573c13386f37c3
authorEric Wong <normalperson@yhbt.net>
Tue, 11 Sep 2012 19:01:43 +0000 (11 12:01 -0700)
committerEric Wong <normalperson@yhbt.net>
Sat, 10 Aug 2013 07:03:23 +0000 (10 07:03 +0000)
treeb205bf6fe532c35c7d3f43a802b1e2fffe7e6828
parentf2815569872abcdd78b7c14491888ea79986cd6d
httpfile: remove size check failure backoff handling

This backoff handling in HTTPFile is redundant for several reasons:

* We rely on the monitor worker anyways to inform us of unreachable hosts

* Monitor runs much faster nowadays, giving us a smaller window for
  out-of-date information about host reachability

* HTTPFile->size no longer connects to the sidechannel port,
  only HTTP, so we waste fewer syscalls on failure if we a
  host went down before the last monitor run.
lib/MogileFS/HTTPFile.pm