diff --git a/opensrp-chw/build.gradle b/opensrp-chw/build.gradle index 75faa842fd..e9367397e8 100644 --- a/opensrp-chw/build.gradle +++ b/opensrp-chw/build.gradle @@ -305,8 +305,8 @@ android { buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"National", "Regional" , "District" , "Formation sanitaire", "Supervisor", "Village"}' buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"Village"' buildConfigField "String", 'DEFAULT_LOCATION', '"Village"' - buildConfigField "int", "MAX_CONNECTION_TIMEOUT", '5' - buildConfigField "int", "MAX_READ_TIMEOUT", '5' + buildConfigField "int", "MAX_CONNECTION_TIMEOUT", '10' + buildConfigField "int", "MAX_READ_TIMEOUT", '10' buildConfigField "int", "DATABASE_VERSION", '21' } liberia { diff --git a/opensrp-chw/src/main/java/org/smartregister/chw/sync/ChwSyncIntentService.java b/opensrp-chw/src/main/java/org/smartregister/chw/sync/ChwSyncIntentService.java index 923c1c4acb..efb9a9c2b5 100644 --- a/opensrp-chw/src/main/java/org/smartregister/chw/sync/ChwSyncIntentService.java +++ b/opensrp-chw/src/main/java/org/smartregister/chw/sync/ChwSyncIntentService.java @@ -12,6 +12,6 @@ public int getEventPullLimit() { @Override protected Integer getEventBatchSize(){ - return 180; + return 50; } // Should this be configurable? }