Skip to content

Commit

Permalink
Increase rate limits
Browse files Browse the repository at this point in the history
  • Loading branch information
damingo committed May 27, 2024
1 parent 4024f5c commit 4091581
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions config/discourse_defaults.conf
Original file line number Diff line number Diff line change
Expand Up @@ -239,10 +239,10 @@ enable_s3_transfer_acceleration =
s3_asset_cdn_url =

### rate limits apply to all sites
max_user_api_reqs_per_minute = 40 # default: 20
max_user_api_reqs_per_minute = 100 # default: 20
max_user_api_reqs_per_day = 2880

max_admin_api_reqs_per_minute = 60
max_admin_api_reqs_per_minute = 100 # default: 60

max_reqs_per_ip_per_minute = 300 # default: 200
max_reqs_per_ip_per_10_seconds = 100 # default: 50
Expand Down Expand Up @@ -390,4 +390,4 @@ log_line_max_chars = 160000
# this value is included when generating static asset URLs.
# Updating the value will allow site operators to invalidate all asset urls
# to recover from configuration issues which may have been cached by CDNs/browsers.
asset_url_salt =
asset_url_salt =
2 changes: 1 addition & 1 deletion plugins/edgeryders-api/plugin.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# name: EdgerydersApi
# name: edgeryders-api
# about:
# version: 0.1
# authors: damingo
Expand Down
8 changes: 4 additions & 4 deletions plugins/edgeryders-shared/plugin.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# name: EdgerydersShared
# name: edgeryders-shared
# about:
# version: 0.1
# authors: damingo
Expand Down Expand Up @@ -36,9 +36,9 @@ class Engine < ::Rails::Engine
end
end






require_dependency "application_controller"
class EdgerydersShared::ActionsController < ::ApplicationController
requires_plugin PLUGIN_NAME
Expand All @@ -57,5 +57,5 @@ def list
Discourse::Application.routes.append do
mount ::EdgerydersShared::Engine, at: "/edgeryders-shared"
end

end
2 changes: 1 addition & 1 deletion plugins/edgeryders-signup-notification/plugin.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# name: EdgerydersSignupNotification
# name: edgeryders-signup-notification
# about:
# version: 0.1
# authors: damingo
Expand Down

0 comments on commit 4091581

Please sign in to comment.