]> git.openstreetmap.org Git - rails.git/blobdiff - config/application.yml
Suspend users if their spam score gets too high
[rails.git] / config / application.yml
index 6a67a51236af20f3c1a9fe234513a54553e360fb..c0622df75f1551fb0ddad837424f1e92a652555b 100644 (file)
@@ -15,6 +15,15 @@ standard_settings: &standard_settings
   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
+  # Domain for handling message replies
+  #messages_domain: "messages.openstreetmap.org"
+  # Quova authentication details
+  #quova_username: ""
+  #quova_password: ""
+  # Spam threshold
+  spam_theshold: 50
  
 development:
   <<: *standard_settings