Update the default timeout to match the SDK as the value kills download tasks 🤦‍♂️ (#3205)

This new value isn't great either but there's a balance to be made.
This commit is contained in:
Doug
2024-08-27 12:55:58 +01:00
committed by GitHub
parent 55296a6fcc
commit a510688a75

View File

@@ -29,7 +29,7 @@ extension ClientBuilder {
.slidingSyncProxy(slidingSyncProxy: slidingSyncProxy?.absoluteString)
.enableCrossProcessRefreshLock(processId: InfoPlistReader.main.bundleIdentifier, sessionDelegate: sessionDelegate)
.userAgent(userAgent: UserAgentBuilder.makeASCIIUserAgent())
.requestConfig(config: .init(retryLimit: 0, timeout: 15000, maxConcurrentRequests: nil, retryTimeout: nil))
.requestConfig(config: .init(retryLimit: 0, timeout: 30000, maxConcurrentRequests: nil, retryTimeout: nil))
builder = switch slidingSync {
case .restored: builder