]> git.openstreetmap.org Git - rails.git/blob - config/environments/production.rb
Remove old process management scripts
[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 log path in production
16 if defined?(LOG_PATH)
17   config.log_path = LOG_PATH
18 end
19
20 # Use a different logger for distributed setups
21 # config.logger = SyslogLogger.new
22
23 # Use a different cache store in production
24 if defined?(MEMCACHE_SERVERS)
25   MEMCACHE = Memcached::Rails.new(MEMCACHE_SERVERS, :binary_protocol => true)
26   config.cache_store = :mem_cache_store, MEMCACHE
27 end
28
29 # Enable serving of images, stylesheets, and javascripts from an asset server
30 # config.action_controller.asset_host = "http://assets.example.com"
31
32 # Disable delivery errors, bad email addresses will be ignored
33 # config.action_mailer.raise_delivery_errors = false
34
35 # Enable threaded mode
36 # config.threadsafe!