Skip to content

Commit

Permalink
Test: In background max 2 upload otherwise iOS Termination Reason: RU…
Browse files Browse the repository at this point in the history
…NNINGBOARD 0xdead10cc if applicationState == .background {

Signed-off-by: Marino Faggiana <[email protected]>
  • Loading branch information
marinofaggiana committed Oct 23, 2024
1 parent 900b187 commit c277bef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions iOSClient/Networking/NCNetworkingProcess.swift
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,11 @@ class NCNetworkingProcess {
/// ------------------------ UPLOAD
///

/// In background max 2 upload otherwise iOS Termination Reason: RUNNINGBOARD 0xdead10cc
if applicationState == .background {
maxConcurrentOperationUpload = 2
}

/// E2EE - only one for time
for metadata in metadatasUploading.unique(map: { $0.serverUrl }) {
if metadata.isDirectoryE2EE {
Expand Down

0 comments on commit c277bef

Please sign in to comment.