Support » Plugin: Heartbeat Control » No works on Multisite

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello Author,

    Thank you for wonderful plugin. Can you please confirm is this plugin not works well with multisites. Please let me know. We are using this plugin for most of our websites.

    Thanks for the great work.

    Best regards,
    -Rams

    Plugin Author JeffMatson

    (@jeffmatson)

    For now, it’s untested in multisite. I’ve decided to revisit the plugin and the next update will include multisite support.

    Hey Jeff,

    Thanks for the reply. Ok, I can hold on using this plugin for multisites.

    Best regards,
    -Rams

    confirming this. I have both multisite and a single site install. the multisite (which unfortunately is the bigger need for this) continues to call admin-ajax every ~10 seconds (I suppose 15 seconds including the execution time) when idle. the single site which is hosted on same server appears to work just fine.

    would love to see this fixed. I’m going to have to see if other plugins of this type work in the interim. Tho I suppose the long term better solution in my experience is just to avoid multisite altogether.

    It would be great if it works on multisite also.

    Anyway, your plugin is very good.

    >Thanks

    Any update about Multisite Support?

    @jeffmatson I’d like to help with making Heartbeat Control multisite compatible if you don’t mind. I had a need for it and have it working now and would like to share it with you to see if you’d like to incorporate it into your plugin. Let me know.

    Thanks,
    Dan

    Plugin Author JeffMatson

    (@jeffmatson)

    I have a development copy that I’m working on which will have full multisite support, but need to find the time to finish working on it. Shoot over a pull request over on GitHub and I’ll be happy to look over it.

    I found this code that seems to work on multisite – hope it helps.

    /*
     * Plugin Name: Heartbeat Slowdown [Multisite module]
     * Plugin URI: https://hostmijnpagina.nl/
     * Description: Lower the heartbeat frequency to reduce http requests
     * Author: Sybre Waaijer
     * Author URI: https://cyberwire.nl/
    */
    
    function hmpl_slow_heartbeat( $settings ) {
        $settings['interval'] = 60;
        return $settings;
    }
    add_filter( 'heartbeat_settings', 'hmpl_slow_heartbeat' );

    GREAT, it would be great if it support MU site. thanks

    Alex

    • This reply was modified 1 year, 9 months ago by  alexlii.

    @alexlii

    I made some minor updates in an effort to make the existing version of the plugin multisite compatible. If you want to check that out, I’m putting it here: https://github.com/danspilka/heartbeat-control

    @dspilka

    Thanks so much for your work.

    I just tried, and it works, and 1.0.3 update message there. please check screenshot:

    http://prntscr.com/ej1wn1

    Alex

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘No works on Multisite’ is closed to new replies.