fast-fix
All checks were successful
release-tag / release-image (push) Successful in 1m39s

This commit is contained in:
2025-06-16 23:28:13 +02:00
parent d5346b75dc
commit 7265a37877
2 changed files with 530 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ import (
// Redis + Context
var ctx = context.Background()
var rdb = redis.NewClient(&redis.Options{
Addr: "redis:6379",
Addr: "10.10.5.249:6379",
})
// ──────────────────────────────────────────────────────────────────────────────
@@ -713,7 +713,7 @@ func importBlocklists() error {
if err := fetchAndSave(client, t, "./lists/"); err != nil {
log.Printf("ERROR %s → %v", t.URL, err)
}
blocklistURLs, _ = ImportListJSON("./lists/")
blocklistURLs, _ = ImportListJSON("./lists/lists.json")
var wg sync.WaitGroup
errCh := make(chan error, len(blocklistURLs))
@@ -739,6 +739,7 @@ func importBlocklists() error {
return fmt.Errorf("Blocklisten-Import teilweise fehlgeschlagen")
}
fmt.Println("✅ Blocklisten-Import abgeschlossen")
fmt.Println(blocklistURLs)
blocklistURLs["flodpod"] = "null"
return nil
}