• Resolved dobriku

    (@dobriku)


    it adds 10 mb size into wp_options in just one day…is there any way to disable generation of that fields?

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

    (@dobriku)

    Elementor has option to autosave posts… Once i hit save button it generated 3 tables
    Is there any way to completely disable that sync feature and stop generation of thouse database rows ?I don’t use jetpack publishing feature, so i don’t need that sync feature…
    189877 jpsq_sync-:”jetpack_sync_save_post”;
    189878 jpsq_sync-“jetpack_sync_save_post”;i:1;a:4:{i:…
    189879 jpsq_sync_checkout 0:0
    I googled and tried the following snippets,nothing worked ….rows are still being added to my db
    add_filter( 'pre_option_jetpack_sync_settings_sync_via_cron', '__return_zero' );

    function jp_support_5513_sync_schedule( $schedules ) {
        if ( ! isset( $schedules['2400min'] ) ) {
            $schedules['2400min'] = array(
                'interval' => 2400 * MINUTE_IN_SECONDS,
                'display' => __( 'Every 2400 minutes' ),
            );
        }
        return $schedules;
    }
    add_filter( 'cron_schedules', 'jp_support_5513_sync_schedule' );
    
    function __return_jp_support_5513_2400_min() {
        return '2400min';
    }
    add_filter( 'jetpack_sync_incremental_sync_interval', '__return_jp_support_5513_2400_min' );
    add_filter( 'jetpack_sync_full_sync_interval', '__return_jp_support_5513_2400_min' );
    add_filter('schedule_event', function ($event) {
        return strpos($event->hook, 'jetpack_sync_') === 0 ? false : $event;
    });
    //disable cron jetp sync
    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    Jetpack’s synchronization process is indeed triggered as soon as you connect your site to WordPress.com, and is used for many of the Jetpack features. It is also what allows you to manage your site from the WordPress.com interface.

    Disabling sync is not something I would recommend, as you would then experience issues with some of the Jetpack features on your site. The snippets you posted above do not disable sync, but only change its frequency and when it is triggered.

    All that said, sync should not be an issue for your database; those table rows are automatically deleted once sync is complete. If that does not happen on your site, we would need to run more tests to understand what’s happening. Could you then contact us via this contact form and mention this thread?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘jpsq_sync-table constantly generated to the db’ is closed to new replies.