Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create worker thread for file message slicing & encryption #546

Open
MathJud opened this issue Apr 11, 2023 · 1 comment
Open

Create worker thread for file message slicing & encryption #546

MathJud opened this issue Apr 11, 2023 · 1 comment
Labels
Good first issue A good starting point to start helping out Libqaul Rust

Comments

@MathJud
Copy link
Member

MathJud commented Apr 11, 2023

When a larger file is sent from libqaul, the file needs to be sliced into the maximally allowed messages size, and each message needs to be encrypted. For larger files this can take quite a while.

To speed up the process and not block libqaul for too long, move the file slicing and encryption into an async worker thread.

The thread should be created here:

// TODO: start in new async thread here

@MathJud MathJud added Good first issue A good starting point to start helping out Libqaul Rust labels Apr 11, 2023
@MathJud
Copy link
Member Author

MathJud commented Apr 22, 2023

This issue is worked on in PR #550

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Good first issue A good starting point to start helping out Libqaul Rust
Projects
None yet
Development

No branches or pull requests

1 participant