Content Sync allows some behavioral overwrites using environment variables:

  • CMS_CONTENT_SYNC_UPDATE_LOCK_EXPIRATION: When starting an update, Content Sync locks the entity so that additional update requests to the same entity are blocked to avoid broken content and broken data. This value should be equal to your PHP's max_execution_time setting, in seconds.
  • CMS_CONTENT_SYNC_SITE_NAME: Overwrite the name of the site; only used within Content Sync. If you have e.g. multiple environments (dev, stage, qa, preprod, uat, prod, ...) where the site name is identical, you can use this to easily distinguish between them.
  • SYNC_CORE_DEFAULT_TIMEOUT: The default timeout of requests made to the Sync Core. Default is 15 seconds.