forked from goffee/cup
add config option to disable queues
This commit is contained in:
parent
d413d7def4
commit
273b43f5e0
2 changed files with 23 additions and 1 deletions
4
main.go
4
main.go
|
|
@ -62,7 +62,9 @@ func main() {
|
|||
registerGlobalHooks()
|
||||
registerRoutes()
|
||||
registerEvents()
|
||||
registerQueues()
|
||||
if config.GetQueueConfig().EnableQueue == true {
|
||||
registerQueues()
|
||||
}
|
||||
if config.GetGormConfig().EnableGorm == true {
|
||||
RunAutoMigrations()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue