mirror of
https://github.com/bitmagnet-io/bitmagnet.git
synced 2026-07-18 10:15:24 -04:00
16 lines
214 B
Go
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,
|
|
},
|
|
}
|
|
}
|