]> git.openstreetmap.org Git - rails.git/blobdiff - config/application.yml
Limit the rate at which messages can be sent.
[rails.git] / config / application.yml
index 7400a7b9a916088639aa0a092198f9c3000d82f4..a478217a40d1db39241bf7e57dfb7b36896ce8aa 100644 (file)
@@ -7,6 +7,18 @@ standard_settings: &standard_settings
   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
+  # Enable experimental "twain" geocoder
+  twain_enabled: false
+  # Timeout for API calls in seconds
+  api_timeout: 300
+  # 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
  
 development:
   <<: *standard_settings