From 65a10186a5ad50edf8febd448397bd6ef203974f Mon Sep 17 00:00:00 2001 From: Marc Blank Date: Wed, 22 Sep 2010 12:45:48 -0700 Subject: [PATCH] Increase EAS command timeout from 20 to 30 seconds Bug: 3027271 Change-Id: Ic58fea147d179ffd18f28a8ce5d290a1b37302ce --- 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 d6a2853c6..304f65ff0 100644 --- a/src/com/android/exchange/EasSyncService.java +++ b/src/com/android/exchange/EasSyncService.java @@ -124,7 +124,7 @@ public class EasSyncService extends AbstractSyncService { // Command timeout is the the time allowed for reading data from an open connection before an // IOException is thrown. After a small added allowance, our watchdog alarm goes off (allowing // us to detect a silently dropped connection). The allowance is defined below. - static private final int COMMAND_TIMEOUT = 20*SECONDS; + static private final int COMMAND_TIMEOUT = 30*SECONDS; // 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