Skip to content

Commit

Permalink
Whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPowerGamerBR committed Oct 12, 2020
1 parent b4c8074 commit 8d816bc
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -82,7 +82,7 @@ import kotlin.random.Random
abstract class LorittaDiscord(var discordConfig: GeneralDiscordConfig, var discordInstanceConfig: GeneralDiscordInstanceConfig, var config: GeneralConfig, var instanceConfig: GeneralInstanceConfig) : LorittaBot() {
companion object {
// We multiply by 2 because... uuuh, sometimes threads get stuck due to dumb stuff that we need to fix.
const val MESSAGE_EXECUTOR_THREADS = Runtime.getRuntime().availableProcessors() * 2
val MESSAGE_EXECUTOR_THREADS = Runtime.getRuntime().availableProcessors() * 2
}

override val commandMap = DiscordCommandMap(this).apply {
Expand Down

0 comments on commit 8d816bc

Please sign in to comment.