From 6c04d191702025371680b78295237eec7efb3ca6 Mon Sep 17 00:00:00 2001 From: Amos Ng Date: Fri, 19 Jun 2020 10:21:12 +0800 Subject: [PATCH] Changed default CPU thread count to `4` Apparently, some people like to run M@H on Atoms! --- CHANGELOG.md | 1 + src/main/kotlin/mdnet/base/settings/ClientSettings.kt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ed358f8..ee66e02 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added ### Changed +- [2020-06-19] Changed default CPU thread count to `4` by [@lflare]. ### Deprecated diff --git a/src/main/kotlin/mdnet/base/settings/ClientSettings.kt b/src/main/kotlin/mdnet/base/settings/ClientSettings.kt index 20431c0..24c4e95 100644 --- a/src/main/kotlin/mdnet/base/settings/ClientSettings.kt +++ b/src/main/kotlin/mdnet/base/settings/ClientSettings.kt @@ -10,7 +10,7 @@ data class ClientSettings( @field:SerializedName("client_hostname") val clientHostname: String = "0.0.0.0", @field:SerializedName("client_port") val clientPort: Int = 443, @field:Secret @field:SerializedName("client_secret") val clientSecret: String = "PASTE-YOUR-SECRET-HERE", - @field:SerializedName("threads") val threads: Int = 32, + @field:SerializedName("threads") val threads: Int = 4, @field:SerializedName("web_settings") val webSettings: WebSettings? = null )