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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | livecoverage-1108826-2.patch | 624 bytes | cpliakas |
| #1 | livecoverage.png | 83.55 KB | cpliakas |
| #1 | livecoverage-1108826-1.patch | 645 bytes | cpliakas |
Comments
Comment #1
cpliakas commentedThe 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
Comment #2
cpliakas commentedThere 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