diff options
author | Jonne Haß <me@mrzyx.de> | 2012-09-16 05:55:30 +0400 |
---|---|---|
committer | Jonne Haß <me@mrzyx.de> | 2012-09-26 22:19:37 +0400 |
commit | 2a4db54db97e259de4711d3e25326ee1a4822727 (patch) | |
tree | 82e98275b76cea03da831e7698ee0969e4060920 /config/unicorn.rb | |
parent | 5bea63091034e208d3c6da35cbf9a41641f1e333 (diff) |
New configuration system
* Throw away old system
* Add new system
* Add new example files
* Replace all calls
* add the most important docs
* Add Specs
* rename disable_ssl_requirement to require_ssl
* cloudfiles isn't used/called in our code
* since community_spotlight.list is only used as enable flag replace it with such one and remove all legacy and irelevant codepaths around it
* die if session secret is unset and on heroku
* First basic infrastructure for version information
Diffstat (limited to 'config/unicorn.rb')
-rw-r--r-- | config/unicorn.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/unicorn.rb b/config/unicorn.rb index 7c6810b7e..97a8d3889 100644 --- a/config/unicorn.rb +++ b/config/unicorn.rb @@ -46,7 +46,7 @@ after_fork do |server, worker| ActiveRecord::Base.establish_connection # copy pasta from resque.rb because i'm a bad person - if !AppConfig.single_process_mode? + if !AppConfig.environment.single_process_mode? Resque.redis = AppConfig.get_redis_instance end |