Skip to content

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