]> git.openstreetmap.org Git - rails.git/blob - config/environments/production.rb
Merge branch 'master' into openstreetbugs
[rails.git] / config / environments / production.rb
1 # Settings specified here will take precedence over those in config/environment.rb
2
3 # The production environment is meant for finished, "live" apps.
4 # Code is not reloaded between requests
5 config.cache_classes = true
6
7 # Full error reports are disabled and caching is turned on
8 config.action_controller.consider_all_requests_local = false
9 config.action_controller.perform_caching             = true
10 config.action_view.cache_template_loading            = true
11
12 # See everything in the log (default is :info)
13 # config.log_level = :debug
14
15 # Use a different logger for distributed setups
16 # config.logger = SyslogLogger.new
17
18 # Use a different cache store in production
19 if defined?(MEMCACHE_SERVERS)
20   MEMCACHE = Memcached::Rails.new(MEMCACHE_SERVERS, :binary_protocol => true)
21   config.cache_store = :mem_cache_store, MEMCACHE
22 end
23
24 # Enable serving of images, stylesheets, and javascripts from an asset server
25 # config.action_controller.asset_host = "http://assets.example.com"
26
27 # Disable delivery errors, bad email addresses will be ignored
28 # config.action_mailer.raise_delivery_errors = false
29
30 # Enable threaded mode
31 # config.threadsafe!