Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By altes
#28880
Luís Magalhães wrote:Were you able to solve this issue?


Sorry for the late reply, I was never really able to solve this issue 100%. The modifications I did above helped out along with an implementation to check the time stamp of each request to make sure that I'm updating according to the latest request as they're asynchronous and some are significantly more delayed than others.
User avatar
By DedeHai
#35911 This seems still unsolved.
I have the same issue when using a jquery test to update an LED. Response is fast only on first update or if time between updates is more than ~2s. If I send GET or POST (same problem with both) asynchronous requests in fast succession, the delay between the LED actually doing something is between 0.5 and 3 seconds and it keeps updating long after I stopped clicking vigorously on the page.
If I use faster updates by using the mouse position and automatically updating when the mouse is dragged, resulting in LOTS of requests, the ESP cannot handle it and just crashes.
Would love to see a solution for this.