]> git.openstreetmap.org Git - rails.git/blobdiff - config/environment.rb
Potlatch 0.10
[rails.git] / config / environment.rb
index 495f94d80a63f08b22f639bdcbaaace8c6d946e0..6cf8b261dc652b4dc6e670ad295ec39f3a24b269 100644 (file)
@@ -78,4 +78,6 @@ end
 # This has to be after the above block for some reason (doesnt pull in /lib/osm.rb?)
 POTLATCH_PRESETS = Potlatch::Potlatch.get_presets()
 
-
+# Use SQL (faster) or Rails (more elegant) for common Potlatch reads
+# getway speedup is approximately x2, whichways approximately x7
+POTLATCH_USE_SQL = true