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
We're currently deleting the project directory of a project for which there's an update available using Cerulean's rmdir(). This works fine, but because SFTP doesn't have a recursive delete command, Cerulean has to walk the entire tree over the network connection, which means that something like a miniconda install, with lots of small files, takes 3 minutes to delete.
Since we're already running install.sh via the shell, we might as well use rm -rf to delete the project directory, which should be a lot faster. Perhaps we can still have a fallback to rmdir() if it fails somehow?
The text was updated successfully, but these errors were encountered:
We're currently deleting the project directory of a project for which there's an update available using Cerulean's rmdir(). This works fine, but because SFTP doesn't have a recursive delete command, Cerulean has to walk the entire tree over the network connection, which means that something like a miniconda install, with lots of small files, takes 3 minutes to delete.
Since we're already running install.sh via the shell, we might as well use rm -rf to delete the project directory, which should be a lot faster. Perhaps we can still have a fallback to rmdir() if it fails somehow?
The text was updated successfully, but these errors were encountered: