Skip to content

Commit

Permalink
Hard-codes memcached hostname for production.
Browse files Browse the repository at this point in the history
  • Loading branch information
toomuchpete committed Mar 24, 2024
1 parent f9ffe0d commit 4bfe133
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
:domain => 'leagues.afdc.com',
}

config.cache_store = :mem_cache_store, ENV['MEMCACHE_HOST'], { :namespace => 'platinum_r4', :expires_in => 1.day, :compress => true }
config.log_level = :info

config.cache_store = :mem_cache_store, 'memcached', { :namespace => 'platinum_r4', :expires_in => 1.day, :compress => true }
config.action_mailer.default_url_options = { :host => "leagues.afdc.com" }
end

0 comments on commit 4bfe133

Please sign in to comment.