Skip to content

Commit

Permalink
🔧 Update connection timeouts and event batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
allan-on committed Oct 1, 2021
1 parent 612c27c commit 0402033
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions opensrp-chw/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ public int getEventPullLimit() {

@Override
protected Integer getEventBatchSize(){
return 180;
return 50;
} // Should this be configurable?
}

0 comments on commit 0402033

Please sign in to comment.