mirror of
https://github.com/simon-ding/polaris.git
synced 2026-03-01 07:00:47 +08:00
feat: disable indexer
This commit is contained in:
@@ -131,6 +131,9 @@ func searchWithTorznab(db *db.Client, q string) []torznab.Result {
|
||||
var wg sync.WaitGroup
|
||||
|
||||
for _, tor := range allTorznab {
|
||||
if tor.Disabled {
|
||||
continue
|
||||
}
|
||||
wg.Add(1)
|
||||
go func() {
|
||||
log.Debugf("search torznab %v with %v", tor.Name, q)
|
||||
|
||||
Reference in New Issue
Block a user