summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2021-06-07 09:43:00 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-06-07 09:43:00 +0800
commitf45852a5880fbcd9670f0de3643ea9614ec35de4 (patch)
treed07d3e1edd8b4ffdf9c61d95ff0a4dbf1ee6c13c
parentfe9611a7fd9a1592cc1a4517948b4a32fba904c9 (diff)
Prepare new release
-rw-r--r--CHANGELOG.md5
-rw-r--r--src/main.rs2
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