- Update Readme

- Add funding.yml
- Add Arr Queue cleanner worker
- Rewrote worker
This commit is contained in:
Mukhtar Akere
2025-02-19 23:52:53 +01:00
parent 9a7bff04ef
commit 108da305b3
21 changed files with 340 additions and 69 deletions

View File

@@ -2,7 +2,7 @@ package torrent
import (
"fmt"
"github.com/sirrobot01/debrid-blackhole/common"
"github.com/sirrobot01/debrid-blackhole/internal/cache"
"github.com/sirrobot01/debrid-blackhole/internal/utils"
"github.com/sirrobot01/debrid-blackhole/pkg/arr"
"os"
@@ -107,7 +107,7 @@ func (t *Torrent) GetFile(id string) *File {
return nil
}
func GetLocalCache(infohashes []string, cache *common.Cache) ([]string, map[string]bool) {
func GetLocalCache(infohashes []string, cache *cache.Cache) ([]string, map[string]bool) {
result := make(map[string]bool)
hashes := make([]string, 0)