Make the fastest recommendation a bit more sane
This commit is contained in:
parent
537d139168
commit
4077bfe398
@ -215,7 +215,7 @@ def _lagcheck_2(cli, timings):
|
|||||||
threshold = i
|
threshold = i
|
||||||
|
|
||||||
print("Lag check complete! We recommend adding the following settings to your botconfig.py:")
|
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)
|
burst = int(4 * threshold)
|
||||||
if burst < 12: # we know we can successfully burst at least 12 messages at once
|
if burst < 12: # we know we can successfully burst at least 12 messages at once
|
||||||
burst = 12
|
burst = 12
|
||||||
|
Loading…
x
Reference in New Issue
Block a user