diff --git a/ElementX/Sources/Services/BugReport/BugReportService.swift b/ElementX/Sources/Services/BugReport/BugReportService.swift index 60d767767..8ee57864a 100644 --- a/ElementX/Sources/Services/BugReport/BugReportService.swift +++ b/ElementX/Sources/Services/BugReport/BugReportService.swift @@ -296,7 +296,7 @@ nonisolated extension BugReportService: URLSessionTaskDelegate { /// where the service lives. func urlSession(_ session: URLSession, didCreateTask task: URLSessionTask) { Task { @MainActor [weak self] in - for await value in task.progress.publisher(for: \.fractionCompleted).values { + for await value in task.progress.publisher(for: \.fractionCompleted).buffer(size: 1, prefetch: .byRequest, whenFull: .dropOldest).values { self?.progressSubject.send(value) } }