@Glisse1 wrote:
Hello,
I am trying for a long time to make the live widget "listen to me" I managed that only partial. The thing is i want the widget to refresh at a constant rate, because several other thing i customized depend on this.
With the setting in config ini, and from within live.js i managed to enforce the maximum update interval to 12 seconds. Problem is with latest update 2.16.2 the behavior is like this:
nobody on site, the widget updates at 12 seconds, every time, i tested this for as long as 20 minutes in the night.
but if there is a new page view, then the widget updates after just 3 seconds, then after another 4 seconds, then after another 6 seconds, something like that, until it reaches again 12 seconds interval where it "freezes" until the next time there is a page view..
This is an unnecessary cascade of quick refreshes which not only are broking several things to my install but also convinced my ISP to mail me about reaching a limit with requests (i am on shared host).. if one is having constant page-views, then the widget refreshes very, very, very often..
I have a setting of minimum interval of 10000 in live.js from within the plugin folder, but this is utterly ignored.
Also, i thought that this is having something to do with heartbeat (and maybe incremental beats) but i removed it completely from the tracking code and it makes no difference.
Any other idea of how can i convince the live widget to wait for A MINIMUM of x seconds before updating, regardless if there is or not a new pageview?
Thank you
Posts: 1
Participants: 1