feat: disable indexer

This commit is contained in:
Simon Ding
2024-08-01 20:12:42 +08:00
parent e26e86a63f
commit fc3d3878bc

View File

@@ -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)