Skip to content

Commit

Permalink
Merge branch 'hotfix/1.5.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
sojan-official committed Jun 22, 2020
2 parents 991648e + d4214cd commit 77c1693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/app.yml
@@ -1,5 +1,5 @@
shared: &shared
version: '1.5.2'
version: '1.5.3'

development:
<<: *shared
Expand Down
2 changes: 1 addition & 1 deletion lib/global_config.rb
Expand Up @@ -31,7 +31,7 @@ def load_from_cache(config_key)
if cached_value.blank?
value_from_db = db_fallback(config_key)
cached_value = { value: value_from_db }.to_json
$alfred.set(cache_key, cached_value, { expiry: DEFAULT_EXPIRY })
$alfred.set(cache_key, cached_value, { ex: DEFAULT_EXPIRY })
end

JSON.parse(cached_value)['value']
Expand Down

0 comments on commit 77c1693

Please sign in to comment.