The timeout was changed from 30s to 15s

This commit is contained in:
2dust
2025-03-20 12:06:13 +08:00
parent 0b9a96209f
commit a60f45ce31
4 changed files with 9 additions and 9 deletions
@@ -206,9 +206,9 @@ class UserAssetActivity : BaseActivity() {
var resultCount = 0
lifecycleScope.launch(Dispatchers.IO) {
assets.forEach {
var result = downloadGeo(it.second, 30000, httpPort)
var result = downloadGeo(it.second, 15000, httpPort)
if (!result) {
result = downloadGeo(it.second, 30000, 0)
result = downloadGeo(it.second, 15000, 0)
}
if (result)
resultCount++