mirror of
https://gitlab.com/mangadex-pub/mangadex_at_home.git
synced 2024-01-19 02:48:37 +00:00
add the word threads
This commit is contained in:
parent
60f711cf46
commit
0f51785b21
|
@ -108,7 +108,7 @@ sealed class NettyTransport(threads: Int) {
|
||||||
val name = SystemPropertyUtil.get("os.name").toLowerCase(Locale.UK).trim { it <= ' ' }
|
val name = SystemPropertyUtil.get("os.name").toLowerCase(Locale.UK).trim { it <= ' ' }
|
||||||
|
|
||||||
val threadsToUse = if (threads == 0) defaultNumThreads() else threads
|
val threadsToUse = if (threads == 0) defaultNumThreads() else threads
|
||||||
LOGGER.info { "Choosing a transport using $threadsToUse" }
|
LOGGER.info { "Choosing a transport using $threadsToUse threads" }
|
||||||
|
|
||||||
if (name.startsWith("linux")) {
|
if (name.startsWith("linux")) {
|
||||||
if (IOUring.isAvailable()) {
|
if (IOUring.isAvailable()) {
|
||||||
|
|
Loading…
Reference in a new issue