Support » Plugin: Live Sales Notification for Woocommerce - Woomotiv » Plugin JS DOSes Site on Occasion

  • Resolved Adam Bosco

    (@bosconiandynamics)


    I’m using Woomotiv on a client site and we’ve noticed a peculiar effect where tabs that have been left open for quite some time may begin sending upwards of 10 requests per second to admin-ajax.php with the woomotiv_get_items action.

    I’ve been unable to identify the mechanism responsible in the front.js script at a glance, so for the time being we seem to have had luck by replacing the version of front.js enqueued by the Woomotiv plugin with a slightly modified copy that throttles
    AJAX requests to one per ten seconds per type. This still is not great for browser clients, but it seems to save the server, and the end-user from having their IP deny-listed by automated protection mechanisms.

    This is not a long-term solution, of course. We do like Woomotic quite a bit – it would be nice to see this patched up.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Plugin JS DOSes Site on Occasion’ is closed to new replies.