Skip to content

Unable to synchronize all media files because sync process run only of 5 minutes. #29138

Closed
@dev-ajaysaini

Description

@dev-ajaysaini

Unable to sync. media files if media directory contain very much media files (checked with 5GB media contains approx 30,000 files).

It is working fine with less media.

When sync start it runs exactly for 5 minutes because of Flag Time https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/MediaStorage/Model/File/Storage/Flag.php#L43

https://github.com/magento/magento2/blob/2.4-develop/app/code/Magento/MediaStorage/Controller/Adminhtml/System/Config/System/Storage/Status.php#L52

Flag table screenshots:
https://prnt.sc/ti1fi6
https://prnt.sc/ti1fzv

Steps to reproduce (*)

  1. Try to change media storage and then sync.

Expected result (*)

  1. There should be an option in configuration to set the Flag Time under configurations so that any one can changed accordingly https://prnt.sc/ti1iua

Actual result (*)

  1. Sync. process terminated after fixed 300 seconds.

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

Labels

Issue: Format is not validGate 1 Failed. Automatic verification of issue format is failedReported on 2.4.0Indicates original Magento version for the Issue report.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions