Skip to content

Commit

Permalink
actually use dalli/memcache in production.
Browse files Browse the repository at this point in the history
Without this, it will use the FileStore, which isn't intended by the
application.
  • Loading branch information
dickeyxxx authored and jasonrclark committed Mar 16, 2015
1 parent a108e10 commit 629bb35
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)

# Use a different cache store in production
# config.cache_store = :mem_cache_store
# config.cache_store = :dalli_store
config.cache_store = :dalli_store

# Enable serving of images, stylesheets, and JavaScripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"
Expand Down

0 comments on commit 629bb35

Please sign in to comment.