From 3eda1244e61613a7c3109fb0478804a0058ca5a4 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sun, 8 Sep 2019 10:15:30 -0700 Subject: [PATCH] Upping post timeout. --- server/src/websocket/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/websocket/server.rs b/server/src/websocket/server.rs index 32094843..ea9f8a8a 100644 --- a/server/src/websocket/server.rs +++ b/server/src/websocket/server.rs @@ -20,7 +20,7 @@ use crate::api::*; const RATE_LIMIT_MESSAGE: i32 = 30; const RATE_LIMIT_MESSAGES_PER_SECOND: i32 = 60; -const RATE_LIMIT_POST: i32 = 1; +const RATE_LIMIT_POST: i32 = 3; const RATE_LIMIT_POSTS_PER_SECOND: i32 = 60 * 10; const RATE_LIMIT_REGISTER: i32 = 1; const RATE_LIMIT_REGISTER_PER_SECOND: i32 = 60 * 60; -- 2.44.1