Skip to content

Commit 5dd2acd

Browse files
authored
Increase the network read timeout to 45 seconds (#5749)
1 parent d0b18f3 commit 5dd2acd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
### Changes
2525

2626
- Add `Sync Medical Records` button on setting page behind feature flag
27+
- Increase the network read timeout to 45 seconds
2728

2829
## 2026.02.02
2930

app/src/main/java/org/simple/clinic/di/network/NetworkModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class NetworkModule {
123123
// When syncing large amounts of data, the default read timeout(10s) has been seen to
124124
// timeout frequently for larger models. Through trial and error, 15s was found to be a
125125
// good number for syncing large batch sizes.
126-
readTimeout(configReader.long("networkmodule_read_timeout", default = 30L), TimeUnit.SECONDS)
126+
readTimeout(configReader.long("networkmodule_read_timeout", default = 45L), TimeUnit.SECONDS)
127127
}
128128
.build()
129129
}

0 commit comments

Comments
 (0)