Files
2023-10-04 21:04:26 +01:00

16 lines
214 B
Go

package queue
type Config struct {
Concurrency int
Queues map[string]int
}
func NewDefaultConfig() Config {
return Config{
Concurrency: 10,
Queues: map[string]int{
"classify_torrent": 3,
},
}
}