Update: increase max retries

This commit is contained in:
zzz
2009-06-22 14:50:59 +00:00
parent 917e1023e4
commit 29d0c19b0e

View File

@ -137,7 +137,8 @@ public class UpdateHandler {
try { try {
EepGet get = null; EepGet get = null;
if (shouldProxy) if (shouldProxy)
get = new EepGet(_context, proxyHost, proxyPort, 20, SIGNED_UPDATE_FILE, updateURL, false); // 40 retries!!
get = new EepGet(_context, proxyHost, proxyPort, 40, SIGNED_UPDATE_FILE, updateURL, false);
else else
get = new EepGet(_context, 1, SIGNED_UPDATE_FILE, updateURL, false); get = new EepGet(_context, 1, SIGNED_UPDATE_FILE, updateURL, false);
get.addStatusListener(UpdateRunner.this); get.addStatusListener(UpdateRunner.this);