Created
July 5, 2017 17:41
-
-
Save chrisdavidmiles/8187743ae20c90dffc3bfc5a230929f2 to your computer and use it in GitHub Desktop.
Reduce Jetpack wp-cron usage
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter( 'jetpack_sync_incremental_sync_interval', function() { return 'hourly'; } ); | |
add_filter( 'jetpack_sync_full_sync_interval', function() { return 'daily'; } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This modifies the Jetpack cron schedule to reduce its cron load. Normally Jetpack syncs every 5 minutes.