diff options
-rw-r--r-- | CHANGELOG.md | 5 | ||||
-rw-r--r-- | src/main.rs | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index cb2cfcd..43b09b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +#### v2.12.2 + +* Prepare for release of new Apple hardware and be more specific when auto-configuring the correct amount of threads. + Instead an error message will be printed to inform that the given CPU brand isn't configurable yet. + #### v2.12.1 * Fixed bug that would cause `dua` to unconditionally sleep for 1 second. This sleep was intended for a spawned thread, diff --git a/src/main.rs b/src/main.rs index 1f523ba..4c75191 100644 --- a/src/main.rs +++ b/src/main.rs @@ -41,7 +41,7 @@ fn derive_default_threads(threads: usize) -> usize { "Apple M1" => 4, other => { eprintln!( - "Couldn't auto-configure correct amount of threads for {}", + "Couldn't auto-configure correct amount of threads for {}. Create an issue here: https://github.com/byron/dua-cli/issues", other ); 0 |