projects
/
selectricity
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed and re-enabled support for memcache in the production site
[selectricity]
/
config
/
environments
/
production.rb
diff --git
a/config/environments/production.rb
b/config/environments/production.rb
index cb295b83f17285331882dfdc0eebddaecf32f773..4bb13510ef6ff610417fb7dd61803e5795e8eee1 100644
(file)
--- a/
config/environments/production.rb
+++ b/
config/environments/production.rb
@@
-1,4
+1,8
@@
# Settings specified here will take precedence over those in config/environment.rb
# 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
# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests
Benjamin Mako Hill
||
Want to submit a patch?