]> git.openstreetmap.org Git - rails.git/blobdiff - config/application.yml
Make database offline mode work
[rails.git] / config / application.yml
index 85ebe9f2152884b044c2f73c136ffaee0cd642fa..1b38f8f746e8108a879c9ccde97a95f89defe6a2 100644 (file)
@@ -3,8 +3,31 @@ standard_settings: &standard_settings
   max_request_area: 0.25
   # Number of GPS trace/trackpoints returned per-page
   tracepoints_per_page: 5000
-  # Maximum number of nodes
+  # Maximum number of nodes that will be returned by the api in a map request
   max_number_of_nodes: 50000
+  # Maximum number of nodes that can be in a way (checked on save)
+  max_number_of_way_nodes: 2000
+  # Zoom level to use for postcode results from the geocoder
+  postcode_zoom: 15
+  # Zoom level to use for geonames results from the geocoder
+  geonames_zoom: 12
+  # Timeout for API calls in seconds
+  api_timeout: 300
+  # Timeout for web pages in seconds
+  web_timeout: 30
+  # Periods (in hours) which are allowed for user blocks
+  user_block_periods: [0, 1, 3, 6, 12, 24, 48, 96]
+  # Rate limit for message sending
+  max_messages_per_hour: 60
+  # Domain for handling message replies
+  #messages_domain: "messages.openstreetmap.org"
+  # Quova authentication details
+  #quova_username: ""
+  #quova_password: ""
+  # Spam threshold
+  spam_threshold: 50
+  # Default legale (jurisdiction location) for contributor terms
+  default_legale: GB
  
 development:
   <<: *standard_settings