mirror of
https://github.com/hibiken/asynq.git
synced 2025-09-19 05:17:30 +08:00
remove typo and redundant code
This commit is contained in:
@@ -310,7 +310,7 @@ func (p *processor) queues() []string {
|
||||
}
|
||||
var names []string
|
||||
for qname, priority := range p.queueConfig {
|
||||
for i := 0; i < int(priority); i++ {
|
||||
for i := 0; i < priority; i++ {
|
||||
names = append(names, qname)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user