Skip to content

Commit

Permalink
Update the default timeout to match the SDK as the value kills downlo…
Browse files Browse the repository at this point in the history
…ad tasks 🤦‍♂️ (#3205)

This new value isn't great either but there's a balance to be made.
  • Loading branch information
pixlwave authored Aug 27, 2024
1 parent 6bd9d25 commit ea9ae61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ElementX/Sources/Other/Extensions/ClientBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ea9ae61

Please sign in to comment.