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

fix(backend): replace blocking functions with async functions #270

Merged
merged 16 commits into from
Jun 24, 2022
Merged

Conversation

ravenclaw900
Copy link
Owner

No description provided.

@ravenclaw900 ravenclaw900 requested a review from MichaIng June 21, 2022 19:57
@ravenclaw900 ravenclaw900 mentioned this pull request Jun 22, 2022
24 tasks
@ravenclaw900
Copy link
Owner Author

ravenclaw900 commented Jun 22, 2022

Alright, a small rise in binary size, however now everything is actually being done correctly. The size change is slightly offset by the fact that we can now switch to the single-threaded tokio runtime. Also, various file browser improvements:

  • Not being able to create/delete files or directories in the root directory
  • Files not being zipped, just downloaded as they are
  • Directories not using a compressed zip (would tar work on Windows instead?)
  • Being able to stop a directory read/download that's taking a while and switch to reading/downloading a different directory

Also allow canceling of creating a large zip file
@ravenclaw900 ravenclaw900 merged commit aa6e69f into main Jun 24, 2022
@ravenclaw900 ravenclaw900 deleted the async branch June 24, 2022 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant