From 8f9e872eaf9856c0a2e2f3ae9522280b099b5c1b Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Tue, 27 Apr 2010 23:13:32 -0700 Subject: [PATCH] Allow more time for HttpPost watchdog timeout * The current timeout is triggering more often than it should, which causes delays and inefficiency. Increase it from 10 to 30 seconds. Bug: 2615293 Change-Id: I54b74cc7ad9f1c8286af49b957584670c071640c --- src/com/android/exchange/EasSyncService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/exchange/EasSyncService.java b/src/com/android/exchange/EasSyncService.java index f727081c2..02b5209bb 100644 --- a/src/com/android/exchange/EasSyncService.java +++ b/src/com/android/exchange/EasSyncService.java @@ -128,7 +128,7 @@ public class EasSyncService extends AbstractSyncService { // Connection timeout is the time given to connect to the server before reporting an IOException static private final int CONNECTION_TIMEOUT = 20*SECONDS; // The extra time allowed beyond the COMMAND_TIMEOUT before which our watchdog alarm triggers - static private final int WATCHDOG_TIMEOUT_ALLOWANCE = 10*SECONDS; + static private final int WATCHDOG_TIMEOUT_ALLOWANCE = 30*SECONDS; static private final String AUTO_DISCOVER_SCHEMA_PREFIX = "http://schemas.microsoft.com/exchange/autodiscover/mobilesync/";