Skip to content

Commit

Permalink
detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
Augusto César Dias committed Dec 14, 2023
1 parent bf6506f commit 4416ba7
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class MonkeyApplication : CliktCommand(allowMultipleSubcommands = true) {
logger.e("Error running Infinite Monkeys", e)
} finally {
eventProcessor.releaseResources()
kaliumCacheFolders.forEach{ File(it).deleteRecursively() }
kaliumCacheFolders.forEach { File(it).deleteRecursively() }
exitProcess(0)
}
}
Expand All @@ -128,12 +128,7 @@ class MonkeyApplication : CliktCommand(allowMultipleSubcommands = true) {
logger.i("Creating prefixed groups")
testData.conversationDistribution.forEach { (prefix, config) ->
ConversationPool.createPrefixedConversations(
coreLogic,
prefix,
config.groupCount,
config.userCount,
config.protocol,
monkeyPool
coreLogic, prefix, config.groupCount, config.userCount, config.protocol, monkeyPool
).forEach {
eventChannel.send(Event(it.owner, EventType.CreateConversation(it)))
}
Expand Down

0 comments on commit 4416ba7

Please sign in to comment.