From 56e337b23c298b1ccddfc94298570705ebc69cb5 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Fri, 6 Dec 2019 20:57:48 -0800 Subject: [PATCH] Upping rate limit for register and community creation to 3/hour. - Fixes #353 --- ansible/templates/env | 2 +- docker/dev/.env | 2 +- docker/prod/.env | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible/templates/env b/ansible/templates/env index 8b45ef7..22e9bed 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 fb43451..014ce5c 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 fb43451..014ce5c 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