mirror of
https://github.com/simon-ding/polaris.git
synced 2026-06-02 07:57:45 +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
|
var wg sync.WaitGroup
|
||||||
|
|
||||||
for _, tor := range allTorznab {
|
for _, tor := range allTorznab {
|
||||||
|
if tor.Disabled {
|
||||||
|
continue
|
||||||
|
}
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
go func() {
|
go func() {
|
||||||
log.Debugf("search torznab %v with %v", tor.Name, q)
|
log.Debugf("search torznab %v with %v", tor.Name, q)
|
||||||
|
|||||||
Reference in New Issue
Block a user