-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metha-sync should catch SIGINT #32
Comments
Thanks for quick reply! Your solution is not what I was looking for (a way to manually abort download without loosing the downloaded files) but it's a valid design choice to remove up everything when killed with Ctrl+C. |
Now I understand: the temporary files should be kept, since there may be thousand of them gather over many hours (I remember some endpoints). I added a |
Running
metha-sync
can take a long time. Aborting with Ctrl+C (SIGINT) should be possible to just keep what has been harvested so far. By now SIGINT will leaveMETHA_DIR
in a corrupted state with temporary files instead of.gz
files. Better catch SIGINT and finish zipping the files instead.The text was updated successfully, but these errors were encountered: