Skip to content

Commit

Permalink
fix missing lookup cache key for invalid domain block (#1158)
Browse files Browse the repository at this point in the history
  • Loading branch information
NyaaaWhatsUpDoc committed Nov 27, 2022
1 parent c534230 commit 0c1b1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/db/bundb/domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0c1b1b0

Please sign in to comment.