diff --git a/opensrp-chw/build.gradle b/opensrp-chw/build.gradle index cf9be0ea7f..75faa842fd 100644 --- a/opensrp-chw/build.gradle +++ b/opensrp-chw/build.gradle @@ -305,6 +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", "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 13ee30006b..923c1c4acb 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 250; - } + return 180; + } // Should this be configurable? }