Increase EAS command timeout from 20 to 30 seconds

Bug: 3027271
Change-Id: Ic58fea147d179ffd18f28a8ce5d290a1b37302ce
This commit is contained in:
Marc Blank 2010-09-22 12:45:48 -07:00
parent ebba88e4f4
commit 65a10186a5

View File

@ -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