From: Dessalines Date: Sat, 7 Dec 2019 04:57:48 +0000 (-0800) Subject: Upping rate limit for register and community creation to 3/hour. X-Git-Url: http://these/git/%7Bvideo_url%7D?a=commitdiff_plain;h=ab53840324d252ebb5e89f14ecbe1d55aa56c85a;p=lemmy.git Upping rate limit for register and community creation to 3/hour. - Fixes #353 --- diff --git a/ansible/templates/env b/ansible/templates/env index 8b45ef77..22e9beda 100644 --- a/ansible/templates/env +++ b/ansible/templates/env @@ -6,7 +6,7 @@ RATE_LIMIT_MESSAGE=30 RATE_LIMIT_MESSAGE_PER_SECOND=60 RATE_LIMIT_POST=3 RATE_LIMIT_POST_PER_SECOND=600 -RATE_LIMIT_REGISTER=1 +RATE_LIMIT_REGISTER=3 RATE_LIMIT_REGISTER_PER_SECOND=3600 SMTP_SERVER={{ smtp_server }} SMTP_LOGIN={{ smtp_login }} diff --git a/docker/dev/.env b/docker/dev/.env index fb43451d..014ce5c3 100644 --- a/docker/dev/.env +++ b/docker/dev/.env @@ -7,7 +7,7 @@ RATE_LIMIT_MESSAGE=30 RATE_LIMIT_MESSAGE_PER_SECOND=60 RATE_LIMIT_POST=6 RATE_LIMIT_POST_PER_SECOND=600 -RATE_LIMIT_REGISTER=1 +RATE_LIMIT_REGISTER=3 RATE_LIMIT_REGISTER_PER_SECOND=3600 # Optional email fields diff --git a/docker/prod/.env b/docker/prod/.env index fb43451d..014ce5c3 100644 --- a/docker/prod/.env +++ b/docker/prod/.env @@ -7,7 +7,7 @@ RATE_LIMIT_MESSAGE=30 RATE_LIMIT_MESSAGE_PER_SECOND=60 RATE_LIMIT_POST=6 RATE_LIMIT_POST_PER_SECOND=600 -RATE_LIMIT_REGISTER=1 +RATE_LIMIT_REGISTER=3 RATE_LIMIT_REGISTER_PER_SECOND=3600 # Optional email fields