v1.0.72: raise WebDAV timeout from 30s to 5min for large video uploads
Build & Release APK / build (push) Successful in 13m11s

30s read/write timeout killed uploads of large video files mid-stream.
Videos in zahra's folders took 56s+ to upload — anything over 30s was
failing and counted as a failed file (PARTIAL). Raised to 5 minutes.
This commit is contained in:
2026-06-07 02:44:19 +00:00
parent b7ec3f4ad3
commit 812b40b42f
2 changed files with 4 additions and 3 deletions
@@ -35,7 +35,8 @@ open class WebDavProvider(protected val account: CloudAccount) : CloudProvider {
val pass = creds["password"]?.jsonPrimitive?.content ?: "" val pass = creds["password"]?.jsonPrimitive?.content ?: ""
OkHttpClient.Builder() OkHttpClient.Builder()
.connectTimeout(15, TimeUnit.SECONDS) .connectTimeout(15, TimeUnit.SECONDS)
.readTimeout(30, TimeUnit.SECONDS) .readTimeout(5, TimeUnit.MINUTES)
.writeTimeout(5, TimeUnit.MINUTES)
.addInterceptor { chain -> .addInterceptor { chain ->
val req = chain.request().newBuilder() val req = chain.request().newBuilder()
.header("Authorization", Credentials.basic(user, pass)) .header("Authorization", Credentials.basic(user, pass))
+2 -2
View File
@@ -1,2 +1,2 @@
VERSION_NAME=1.0.71 VERSION_NAME=1.0.72
VERSION_CODE=71 VERSION_CODE=72