lichess.org
Donate

Dynamic adjustment of ping

Is it possible to implement dynamic update of ping in lichess? If I start the game at 150ms ping, but 3 moves in my ping fluctuates to 300ms, I do not believe lichess adjusts for this. I do feel that this affects me immensely at certain times of the day. Would it be too difficult due to latency issues for ping to be updated every move?
It already do, however if your ping fluctuates very quickly it might not keep up. Last I looked at the code, it was updating every 2 seconds using some deviation formula to even it out a bit.
It uses a basic PID to update the lag compensation every 2 seconds.
Oh, I didn't know that. Had never looked into their code. Thanks for the responses! (Didn't get notification for my forum post, so didn't realize people responded until now)

This topic has been archived and can no longer be replied to.