Skip to content

Commit

Permalink
fix(init): thread create
Browse files Browse the repository at this point in the history
  • Loading branch information
guimc233 committed Aug 25, 2024
1 parent c79d395 commit 12369b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/ltd/guimc/lgzbot/PluginMain.kt
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ object PluginMain : KotlinPlugin(
webHookService.start()
logger.info("正在初始化 LL4J")
LL4JUtils.init()
thread { LL4JUtils.downloadModel() }.start()
thread { LL4JUtils.downloadModel() }
logger.info("$name v$version 加载好了喵")
}

Expand Down

0 comments on commit 12369b7

Please sign in to comment.