# copy-assets-to-asheville

This Lambda copies the assets of products to Asheville.
This is done to avoid overloading it when the products are set to complete.

It reads from the ddex-ingester table "upcs_to_deliver" a number of UPCs
and copies the assets of those products to Asheville.
To copy the assets it adds jobs to a queue of another service that handles the asset copy.
When that is done it updates the column "asset_copy_started" to the current time
on the UPCs that were read at the start of the Lambda.

To change the number of UPCs read each time the Lambda runs use the field
"nr_products_per_run" on the event provided to the execution.
