From bafd3d871530335ef47b7b33b984b6bff0df91fa Mon Sep 17 00:00:00 2001 From: Andrew Stadler Date: Fri, 29 Oct 2010 14:07:50 -0700 Subject: [PATCH] Increase EAS command timeout from 20 to 30 seconds DO NOT MERGE Original Change-Id: Ic58fea147d179ffd18f28a8ce5d290a1b37302ce Bug: 3027271 Change-Id: I86cd297f3273b20bd21fcca534eb58b39f904965 --- 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 f09be95f9..d9498d12f 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