Changed default CPU thread count to 4

Apparently, some people like to run M@H on Atoms!
This commit is contained in:
Amos Ng 2020-06-19 10:21:12 +08:00
parent 28418c6315
commit 6c04d19170
No known key found for this signature in database
GPG key ID: 89086414F634D123
2 changed files with 2 additions and 1 deletions

View file

@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### Added
### Changed ### Changed
- [2020-06-19] Changed default CPU thread count to `4` by [@lflare].
### Deprecated ### Deprecated

View file

@ -10,7 +10,7 @@ data class ClientSettings(
@field:SerializedName("client_hostname") val clientHostname: String = "0.0.0.0", @field:SerializedName("client_hostname") val clientHostname: String = "0.0.0.0",
@field:SerializedName("client_port") val clientPort: Int = 443, @field:SerializedName("client_port") val clientPort: Int = 443,
@field:Secret @field:SerializedName("client_secret") val clientSecret: String = "PASTE-YOUR-SECRET-HERE", @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 @field:SerializedName("web_settings") val webSettings: WebSettings? = null
) )