Reduce the sync window from 20 items to 5 (partial fix #2149029)

* This change trades off network time / overhead with time keeping
  ContactsProvider2 busy
* The net effect will probably be to reduce some UI slowdowns while
  syncing Exchange contacts, while increasing the time it takes to
  sync those contacts

Change-Id: I56e2358698aa4c901cda4559f7a8f9117681f627
This commit is contained in:
Marc Blank 2009-09-28 14:34:16 -07:00
parent 832e4a02a6
commit f60bf5f351
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ import java.util.HashMap;
public class EasSyncService extends AbstractSyncService {
private static final String EMAIL_WINDOW_SIZE = "5";
public static final String PIM_WINDOW_SIZE = "20";
public static final String PIM_WINDOW_SIZE = "5";
private static final String WHERE_ACCOUNT_KEY_AND_SERVER_ID =
MailboxColumns.ACCOUNT_KEY + "=? and " + MailboxColumns.SERVER_ID + "=?";
private static final String WHERE_ACCOUNT_AND_SYNC_INTERVAL_PING =