From 4077bfe3983419291221397ec25029a8bbf0575b Mon Sep 17 00:00:00 2001 From: Ryan Schmidt Date: Fri, 13 Jul 2018 21:23:41 -0700 Subject: [PATCH] Make the fastest recommendation a bit more sane --- src/handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handler.py b/src/handler.py index 5048b4c..36cc378 100644 --- a/src/handler.py +++ b/src/handler.py @@ -215,7 +215,7 @@ def _lagcheck_2(cli, timings): threshold = i print("Lag check complete! We recommend adding the following settings to your botconfig.py:") - delay = max(0.8 * fixed[threshold], 0.01) + delay = max(0.8 * fixed[threshold], 0.1) burst = int(4 * threshold) if burst < 12: # we know we can successfully burst at least 12 messages at once burst = 12