From: Dessalines Date: Sun, 8 Sep 2019 17:15:30 +0000 (-0700) Subject: Upping post timeout. X-Git-Url: http://these/git/%7B%60https:/static/%24%7Bsite.site_view.site.icon?a=commitdiff_plain;h=3eda1244e61613a7c3109fb0478804a0058ca5a4;p=lemmy.git Upping post timeout. --- 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;