queue system settings expanded. Update debug to goffee log system
This commit is contained in:
parent
fc57baff78
commit
f4476d3e89
5 changed files with 74 additions and 4 deletions
|
|
@ -16,5 +16,15 @@ func GetQueueConfig() core.QueueConfig {
|
|||
// For enabling and disabling the queue system
|
||||
// set to true to enable it, set to false to disable
|
||||
EnableQueue: false,
|
||||
|
||||
// Number of concurrent workers processing tasks
|
||||
Concurrency: 10,
|
||||
|
||||
// Queue names with priority weights (higher number = higher priority)
|
||||
Queues: map[string]int{
|
||||
"critical": 6,
|
||||
"default": 3,
|
||||
"low": 1,
|
||||
},
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue