From 0c1b1b01f89461ebf7da1e588de46edcd05f4d2d Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Sun, 27 Nov 2022 14:11:49 +0000 Subject: [PATCH] fix missing lookup cache key for invalid domain block (#1158) --- internal/db/bundb/domain.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/db/bundb/domain.go b/internal/db/bundb/domain.go index 3fca8501b..ea2e4f077 100644 --- a/internal/db/bundb/domain.go +++ b/internal/db/bundb/domain.go @@ -125,7 +125,7 @@ func (d *domainDB) DeleteDomainBlock(ctx context.Context, domain string) db.Erro } // Clear domain from cache - d.cache.Invalidate(domain) + d.cache.Invalidate("Domain", domain) return nil }