X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b2515ec75ebb24ee21c1a28b2ea218013a5fde19..62a1ec47483803a32c038fb2907afdf45a61b5ee:/config/environment.rb?ds=inline diff --git a/config/environment.rb b/config/environment.rb index 495f94d80..6cf8b261d 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -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