1
0
Fork 1
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:
carbotaniuman 2021-01-27 13:36:49 -06:00
parent 60f711cf46
commit 0f51785b21

View file

@ -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()) {