X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/cc4532dee83d19baf79b35fadf7064b9b5c3948a..920ef241649e7f6101fc9e72c5581f9d3a2f7270:/config/environments/production.rb?ds=sidebyside diff --git a/config/environments/production.rb b/config/environments/production.rb index f2b9ed6..3192ef5 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,10 +1,14 @@ +# Settings specified here will take precedence over those in config/environment.rb +# +#Enable memcache +require('memcache') +Cache=MemCache.new('localhost', :compression => true) # The production environment is meant for finished, "live" apps. # Code is not reloaded between requests config.cache_classes = true # Use a different logger for distributed setups -# config.logger = SyslogLogger.new - +# config.logger = SyslogLogger.new # Full error reports are disabled and caching is turned on config.action_controller.consider_all_requests_local = false @@ -13,5 +17,5 @@ config.action_controller.perform_caching = true # Enable serving of images, stylesheets, and javascripts from an asset server # config.action_controller.asset_host = "http://assets.example.com" -# Disable delivery errors if you bad email addresses should just be ignored +# Disable delivery errors, bad email addresses will be ignored # config.action_mailer.raise_delivery_errors = false