X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/0283bd4f1ae426175933973bdcad09d1ec2d3f69..49637fed70c3cee22646c3f63ebbdc7261c07102:/config/initializers/potlatch.rb diff --git a/config/initializers/potlatch.rb b/config/initializers/potlatch.rb new file mode 100644 index 000000000..880947148 --- /dev/null +++ b/config/initializers/potlatch.rb @@ -0,0 +1,6 @@ +# Load presets +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