X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=config%2Fconfig.exs;h=f866e8d2bda26be4ab6d2266615522d402071133;hb=fc4a8026d8e168349f9156b27f88c856740c8061;hp=95a0e99726a4abbea6e40409680ff26dcb7aee1b;hpb=593b8b1e6a8502cca9bf5559b8bec86f172bbecb;p=akkoma diff --git a/config/config.exs b/config/config.exs index 95a0e9972..f866e8d2b 100644 --- a/config/config.exs +++ b/config/config.exs @@ -245,9 +245,7 @@ config :pleroma, :instance, healthcheck: false, remote_post_retention_days: 90, skip_thread_containment: true, - limit_unauthenticated_to_local_content: true - -config :pleroma, :app_account_creation, enabled: true, max_requests: 25, interval: 1800 + limit_to_local_content: :unauthenticated config :pleroma, :markup, # XXX - unfortunately, inline images must be enabled by default right now, because @@ -362,8 +360,8 @@ config :pleroma, :suggestions, third_party_engine: "http://vinayaka.distsn.org/cgi-bin/vinayaka-user-match-suggestions-api.cgi?{{host}}+{{user}}", timeout: 300_000, - limit: 23, - web: "https://vinayaka.distsn.org/?{{host}}+{{user}}" + limit: 40, + web: "https://vinayaka.distsn.org" config :pleroma, :http_security, enabled: true, @@ -505,6 +503,10 @@ config :pleroma, :env, Mix.env() config :http_signatures, adapter: Pleroma.Signature +config :pleroma, :rate_limit, + search: [{1000, 10}, {1000, 30}], + app_account_creation: {1_800_000, 25} + # Import environment specific config. This must remain at the bottom # of this file so it overrides the configuration defined above. import_config "#{Mix.env()}.exs"