Skip to content

Commit

Permalink
Clear request store cache if a setting is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacall committed Oct 3, 2024
1 parent 6fd2951 commit 8ced1f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/seek/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ def self.settings_cache
end

def self.clear_cache
RequestStore.delete(:config_cache)
cache_store.delete(cache_key)
end

Expand Down

0 comments on commit 8ced1f5

Please sign in to comment.