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

Multi threaded #79

Merged
merged 2 commits into from
Mar 12, 2023
Merged

Multi threaded #79

merged 2 commits into from
Mar 12, 2023

Conversation

tbillington
Copy link
Owner

@tbillington tbillington commented Mar 12, 2023

Multi thread the CLI.

Creates a project discovery thread to look ahead and measure artifact directory size without being blocked on waiting for a user input.

Also moves deletion to another thread so the prompt isn't waiting for filesystem operations before responding to user input.

Should result in a more snappy user experience.

Also moves printing from buffered and with stdout locks to regular println. They were complicating the code for no real world benefit.

@tbillington tbillington merged commit 3162912 into master Mar 12, 2023
@tbillington tbillington deleted the multi-threaded branch March 12, 2023 05:39
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