Closed (fixed)
Project:
Acquia DAM
Version:
1.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 May 2026 at 10:11 UTC
Updated:
23 Jun 2026 at 11:30 UTC
Jump to comment: Most recent
Refactor Drush asset update commands to use efficient DAM API batch processing with optional finalized version checking.
Currently, the Drush asset update commands (acquia-dam:queue-update-assets) use an inefficient approach:
AssetUpdateChecker::checkAssets(), leading to N+1 query problemsCron.php is not available to Drush commandslastEditDateRefactor the asset update workflow to consolidate logic in AssetUpdater service and provide a unified syncAssets() method that:
New Drush Command Behavior
Without --finalized-version:
drush acquia-dam:queue-update-assets --since=0
With --finalized-version:
drush acquia-dam:queue-update-assets --since=0 --finalized-version
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
rajeshreeputraRelated issue added.
Comment #4
rajeshreeputraRequesting review.
Comment #5
rohan-sinha commentedlgtm.
Comment #7
rajeshreeputraMR merged!