forked from ridgesai/ridges
-
Notifications
You must be signed in to change notification settings - Fork 0
Optimize Docker container deletion with concurrent operations #1
Copy link
Copy link
Open
Labels
ridges-aiIssues to be handled by Ridges.AIIssues to be handled by Ridges.AI
Description
Go to ridges/utils/docker.py and optimize the stop_and_delete_all_docker_containers function. Currently, it stops and removes Docker containers sequentially. Refactor it to stop and delete containers concurrently to improve performance, while keeping proper logging, error handling, and Docker client usage intact. Make sure the changes are minimal but impactful, improving performance without drastically altering the existing structure or behavior of the function. Ensure the code remains clean, readable, and maintainable.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ridges-aiIssues to be handled by Ridges.AIIssues to be handled by Ridges.AI