Make the fastest recommendation a bit more sane

This commit is contained in:
Ryan Schmidt 2018-07-13 21:23:41 -07:00
parent 537d139168
commit 4077bfe398
No known key found for this signature in database
GPG Key ID: E0F0AE21C1C0CB86

View File

@ -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