[CORL-668] User Comment Rate Limiting (#2616)

* feat: added user comment rate limiting

* fix: change 30 second to 3 second

* fix: moved file

* fix: services cleanup

* fix: changes based on review
This commit is contained in:
Wyatt Johnson
2019-10-03 19:33:52 +00:00
committed by GitHub
parent dd45f46b19
commit 6fe4646755
15 changed files with 2127 additions and 1967 deletions
@@ -44,6 +44,7 @@ export const Comments = (ctx: TenantContext) => ({
create(
ctx.mongo,
ctx.redis,
ctx.config,
ctx.publisher,
ctx.tenant,
ctx.user!,
@@ -66,6 +67,7 @@ export const Comments = (ctx: TenantContext) => ({
edit(
ctx.mongo,
ctx.redis,
ctx.config,
ctx.publisher,
ctx.tenant,
ctx.user!,