feat: add GlobalConfigService to support env vars migration (#3288)
This commit is contained in:
@@ -15,6 +15,10 @@ class GlobalConfig
|
||||
config.with_indifferent_access
|
||||
end
|
||||
|
||||
def get_value(arg)
|
||||
load_from_cache(arg)
|
||||
end
|
||||
|
||||
def clear_cache
|
||||
cached_keys = $alfred.keys("#{VERSION}:#{KEY_PREFIX}:*")
|
||||
(cached_keys || []).each do |cached_key|
|
||||
|
||||
Reference in New Issue
Block a user