diff options
Diffstat (limited to 'internal/cache/db.go')
-rw-r--r-- | internal/cache/db.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/cache/db.go b/internal/cache/db.go index 4ce541770..16bd10eaa 100644 --- a/internal/cache/db.go +++ b/internal/cache/db.go @@ -531,6 +531,11 @@ func (c *Caches) initFilterKeyword() { // See internal/db/bundb/filter.go. filterKeyword2.Filter = nil + // We specifically DO NOT unset + // the regexp field here, as any + // regexp.Regexp instance is safe + // for concurrent access. + return filterKeyword2 } |