Skip to content

fix(worker): file-export#16707

Open
alperozturk96 wants to merge 2 commits intomasterfrom
fix/file-export
Open

fix(worker): file-export#16707
alperozturk96 wants to merge 2 commits intomasterfrom
fix/file-export

Conversation

@alperozturk96
Copy link
Collaborator

Issue

The worker was crashing when users tried to export too many files. In such cases, users would see an empty notification.
FileDownloadWorker was being triggered for each export attempt instead of handling all exports within a single worker.

Changes

Introduced a reusable WorkerFilesPayload to eliminate worker data limits.
Switched to a coroutine-based worker that downloads all files within a single FilesExportWorker.
Now only one notification is shown at the end of the worker process.

Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
Signed-off-by: alperozturk96 <alper_ozturk@proton.me>
@alperozturk96 alperozturk96 added 3. to review performance 🚀 Performance improvement opportunities (non-crash related) labels Mar 19, 2026
@github-actions
Copy link

Codacy

SpotBugs

CategoryBaseNew
Bad practice4040
Correctness7272
Dodgy code237237
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness3434
Performance4343
Security1818
Total454454

@github-actions
Copy link

blue-Light-Screenshot test failed, but no output was generated. Maybe a preliminary stage failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review performance 🚀 Performance improvement opportunities (non-crash related)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant