get queue configurations from config in cup
This commit is contained in:
parent
75ddca3e7d
commit
b757aef6b1
2 changed files with 21 additions and 9 deletions
|
|
@ -24,6 +24,8 @@ type GormConfig struct {
|
|||
|
||||
type QueueConfig struct {
|
||||
EnableQueue bool
|
||||
Concurrency int
|
||||
Queues map[string]int
|
||||
}
|
||||
|
||||
type CacheConfig struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue