Skip to content

Commit 3d203fb

Browse files
authored
Merge pull request #1923 from opensrp/update-wcaro-togo
Update wcaro Togo to v1.2.6
2 parents 204a372 + a8b1ca5 commit 3d203fb

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

opensrp-chw/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,8 +293,8 @@ android {
293293
togo {
294294
dimension = 'baseDimension'
295295
applicationIdSuffix ".togo"
296-
versionCode 23
297-
versionName "1.2.5"
296+
versionCode 24
297+
versionName "1.2.6"
298298
buildConfigField "int", "OPENMRS_UNIQUE_ID_INITIAL_BATCH_SIZE", '1000'
299299
buildConfigField "int", "OPENMRS_UNIQUE_ID_BATCH_SIZE", '500'
300300
buildConfigField "String", 'opensrp_url', '"https://wcaro-tg.smartregister.org/opensrp/"'
@@ -305,6 +305,8 @@ android {
305305
buildConfigField "String[]", "ALLOWED_LOCATION_LEVELS", '{"National", "Regional" , "District" , "Formation sanitaire", "Supervisor", "Village"}'
306306
buildConfigField "String", 'DEFAULT_LOCATION_DEBUG', '"Village"'
307307
buildConfigField "String", 'DEFAULT_LOCATION', '"Village"'
308+
buildConfigField "int", "MAX_CONNECTION_TIMEOUT", '5'
309+
buildConfigField "int", "MAX_READ_TIMEOUT", '5'
308310
buildConfigField "int", "DATABASE_VERSION", '20'
309311
}
310312
liberia {

opensrp-chw/src/main/java/org/smartregister/chw/sync/ChwSyncIntentService.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ public int getEventPullLimit() {
2525

2626
@Override
2727
protected Integer getEventBatchSize(){
28-
return 250;
29-
}
28+
return 180;
29+
} // Should this be configurable?
3030
}

0 commit comments

Comments
 (0)