* Update: Increase eepget timeouts to reduce retries

This commit is contained in:
zzz
2012-06-29 16:25:22 +00:00
parent 4092f61898
commit ab18550711
6 changed files with 24 additions and 6 deletions

View File

@@ -149,7 +149,7 @@ public class PluginUpdateHandler extends UpdateHandler {
else
_get = new EepGet(_context, 1, _updateFile, _xpi2pURL, false);
_get.addStatusListener(PluginUpdateRunner.this);
_get.fetch();
_get.fetch(CONNECT_TIMEOUT, -1, shouldProxy ? INACTIVITY_TIMEOUT : NOPROXY_INACTIVITY_TIMEOUT);
} catch (Throwable t) {
_log.error("Error downloading plugin", t);
}