Skip to content

Defer directory stat walk to background task#115

Closed
iamnoksio wants to merge 2 commits into
macnev2013:mainfrom
iamnoksio:fix/111
Closed

Defer directory stat walk to background task#115
iamnoksio wants to merge 2 commits into
macnev2013:mainfrom
iamnoksio:fix/111

Conversation

@iamnoksio

Copy link
Copy Markdown
Contributor

Improve UI responsiveness by enqueuing directory download jobs immediately with 0 totals instead of blocking to calculate them first. A background task now walks the remote directory and updates the job totals once complete. Also add warning logging in walk_remote_dir_inner for read_dir errors instead of silently returning.

Fixes #111

Improve UI responsiveness by enqueuing directory download jobs immediately with 0 totals instead of blocking to calculate them first. A background task now walks the remote directory and updates the job totals once complete. Also add warning logging in walk_remote_dir_inner for read_dir errors instead of silently returning.

Fixes macnev2013#111
@iamnoksio

Copy link
Copy Markdown
Contributor Author

gonna be fixed in the refactor

@iamnoksio iamnoksio closed this Jul 20, 2026
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.

Folder download: compute directory stats asynchronously so transfers appear immediately

1 participant