Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Background Sync #559

Merged
merged 74 commits into from
Oct 14, 2020
Merged

Background Sync #559

merged 74 commits into from
Oct 14, 2020

Conversation

antonkorotkov
Copy link
Contributor

@antonkorotkov antonkorotkov commented Sep 23, 2020

The source: #523

Need to document:

  • WP_STATELESS_MEDIA_UPLOAD_CHUNK_SIZE - if defined, the uploading will be done by chunks of the specified size in bytes. This helps in the case of Allocated memory exhausted errors.

New Constants:

  • WP_STATELESS_SYNC_MAX_BATCH_SIZE - the maximum size of a batch of items to be saved in a single DB row. Int. Default 50.
  • WP_STATELESS_SYNC_LOG - the path to the log file for the sync processes to put their log information. If not set - error_log configuration is used.
  • WP_STATELESS_SYNC_HEALTHCHECK_INTERVAL - the sync healthcheck cron interval in minutes. The default is 1.

Change Log

  • NEW - Completely rewritten the synchronization tool. GitHub issue #523.
  • FIX - Fixed an issue when original files were not deleted from the server in the Ephemeral mode. GitHub issue #484.
  • FIX - Fixed an incorrect behavior of image srcset attribute in the Backup mode. GitHub issue #558.
  • COMPATIBILITY - Litespeed Cache - Fixed an incorrect upload folder determination. GitHub issue #527.

@antonkorotkov antonkorotkov merged commit 5355c59 into latest Oct 14, 2020
@planv planv deleted the develop-sync branch October 20, 2020 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants