mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
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:
@@ -29,7 +29,7 @@ extension ClientBuilder {
|
|||||||
.slidingSyncProxy(slidingSyncProxy: slidingSyncProxy?.absoluteString)
|
.slidingSyncProxy(slidingSyncProxy: slidingSyncProxy?.absoluteString)
|
||||||
.enableCrossProcessRefreshLock(processId: InfoPlistReader.main.bundleIdentifier, sessionDelegate: sessionDelegate)
|
.enableCrossProcessRefreshLock(processId: InfoPlistReader.main.bundleIdentifier, sessionDelegate: sessionDelegate)
|
||||||
.userAgent(userAgent: UserAgentBuilder.makeASCIIUserAgent())
|
.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 {
|
builder = switch slidingSync {
|
||||||
case .restored: builder
|
case .restored: builder
|
||||||
|
|||||||
Reference in New Issue
Block a user