On certain pages, the AJAX calls to /livecoverage/load callback run continuously, thus flooding the server with requests. The refresh rate is set to 180, but the calls seem to come instantaneously one after another.

Comments

cpliakas’s picture

Status: Active » Needs review
StatusFileSize
new645 bytes
new83.55 KB

The root cause of the issue is that there are incomplete entries in the database (see attached screenshot). As a result, the refresh rate is set to "000" causing the AJAX requests to flood the server. Although I could not determine the root cause of the issue, the attached patch adds a safeguard that loads the default refresh rate of 180 if a value wasn't properly retrieved from the database.

Thanks,
Chris

cpliakas’s picture

StatusFileSize
new624 bytes

There is a logic error in the patch posted in #1. The way it is written, the default will always be applied. Resolved in the patch attached to this post.

~Chris