You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improved performance of purge_orphan_items function by implementing batch item deletions
Replaced usage of Boto3 DynamoDB client delete_item with batch_write_item for deleting items in DynamoDB. This change improves performance by reducing the number of requests made to DynamoDB and allowing for batch deletions.
Added internal _delete_items function to handle the batch_write_item operation.
Added closure submit_delete_items to the purge_orphan_items function, which contains the executor.submit call to _delete_items and the delete_items_callback function.