add config option to disable queues

This commit is contained in:
Zeni Kim 2024-12-23 23:40:22 -05:00
parent d413d7def4
commit 273b43f5e0
2 changed files with 23 additions and 1 deletions

View file

@ -62,7 +62,9 @@ func main() {
registerGlobalHooks()
registerRoutes()
registerEvents()
registerQueues()
if config.GetQueueConfig().EnableQueue == true {
registerQueues()
}
if config.GetGormConfig().EnableGorm == true {
RunAutoMigrations()
}