• Resolved aliasguru

    (@aliasguru)


    Hi there,

    I’m using both the Pro and the free version of the plugin. The effect described here is much more noticable in the pro version, but I’m sure it also happens on the free one.

    Every 4 seconds, the seat layout seems to trigger a full refresh and rebuilds itself. When having many seats (more than a thousand in my case), this leads to a severe lag when scrolling, the browser freezes for half a second at least. Removing the seat layout in the browsers inspection mode makes the website go butter-smooth, so the cause is really somewhere in the plugin.

    I’m not sure if the refresh can be avoided, but my question is: Can the frequency be changed? I would not mind if the refresh was every 30 seconds or so to be honest. Is there a way to do this? Which file would I need to edit?

    Thanks in advance,
    aliasguru

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter aliasguru

    (@aliasguru)

    Never mind, found it to be in /js/public.js

    setInterval(refreshScheme, 5000);

    Change the 5000 to whatever value in milliseconds the refresh shall happen in. Again, this would be nice to be able to control from outside (backend). I’ve set it to 60.000, would there be any issues to be expected from that?

    Thanks,
    aliasguru

    Plugin Author ArtkanMedia

    (@artkanmedia)

    Hello aliasguru,

    If you set a big interval, it will be harder for users to get an actual state of the scheme (what places are available, booked etc).

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Slowdown on Refresh’ is closed to new replies.