summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2016-11-30 16:22:57 -0500
committerAnthony G. Basile <blueness@gentoo.org>2016-11-30 16:22:57 -0500
commitfbf8cf39f7ec35489332158cb2f73ea535279e5b (patch)
treeb8025a3b964e60077492449c0e35bf675bcd6939 /plugins/jetpack/sync/class.jetpack-sync-defaults.php
parentUpdate plugin openid to 3.4.2 (diff)
downloadblogs-gentoo-fbf8cf39f7ec35489332158cb2f73ea535279e5b.tar.gz
blogs-gentoo-fbf8cf39f7ec35489332158cb2f73ea535279e5b.tar.bz2
blogs-gentoo-fbf8cf39f7ec35489332158cb2f73ea535279e5b.zip
Update plugin jetpack to 4.4.1
Diffstat (limited to 'plugins/jetpack/sync/class.jetpack-sync-defaults.php')
-rw-r--r--plugins/jetpack/sync/class.jetpack-sync-defaults.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/jetpack/sync/class.jetpack-sync-defaults.php b/plugins/jetpack/sync/class.jetpack-sync-defaults.php
index 3019c25e..f146a4c6 100644
--- a/plugins/jetpack/sync/class.jetpack-sync-defaults.php
+++ b/plugins/jetpack/sync/class.jetpack-sync-defaults.php
@@ -104,6 +104,8 @@ class Jetpack_Sync_Defaults {
'users_can_register',
'active_plugins',
'uninstall_plugins',
+ 'advanced_seo_front_page_description', // Jetpack_SEO_Utils::FRONT_PAGE_META_OPTION
+ 'advanced_seo_title_formats', // Jetpack_SEO_Titles::TITLE_FORMATS_OPTION
);
static $default_constants_whitelist = array(
@@ -159,6 +161,9 @@ class Jetpack_Sync_Defaults {
'snitch',
'secupress_log_action',
'http',
+ 'bwg_gallery',
+ 'bwg_album',
+ 'idx_page',
);
static $default_post_checksum_columns = array(
@@ -232,6 +237,7 @@ class Jetpack_Sync_Defaults {
'switch_like_status',
'videopress_guid',
'vimeo_poster_image',
+ 'advanced_seo_description', // Jetpack_SEO_Posts::DESCRIPTION_META_KEY
);
static $comment_meta_whitelist = array(
@@ -295,6 +301,7 @@ class Jetpack_Sync_Defaults {
static $default_upload_max_rows = 500;
static $default_sync_wait_time = 10; // seconds, between syncs
static $default_sync_wait_threshold = 5; // only wait before next send if the current send took more than X seconds
+ static $default_enqueue_wait_time = 10; // wait between attempting to continue a full sync, via requests
static $default_max_queue_size = 1000;
static $default_max_queue_lag = 900; // 15 minutes
static $default_queue_max_writes_sec = 100; // 100 rows a second
@@ -302,8 +309,10 @@ class Jetpack_Sync_Defaults {
static $default_post_meta_whitelist = array();
static $default_comment_meta_whitelist = array();
static $default_disable = 0; // completely disable sending data to wpcom
- static $default_avoid_wp_cron = 0; // don't use cron to enqueue full syncs - do it inline. Warning: Can time out for larger sites!
+ static $default_sync_via_cron = 1; // use cron to sync
static $default_render_filtered_content = 1; // render post_filtered_content
+ static $default_max_enqueue_full_sync = 100; // max number of items to enqueue at a time when running full sync
+ static $default_max_queue_size_full_sync = 1000; // max number of total items in the full sync queue
static $default_sync_callables_wait_time = MINUTE_IN_SECONDS; // seconds before sending callables again
static $default_sync_constants_wait_time = HOUR_IN_SECONDS; // seconds before sending constants again
static $default_sync_queue_lock_timeout = 120; // 2 minutes