Skip to content
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

Add "staggered"/gradual interruption for upload (and possibly download) #1523

Open
yarikoptic opened this issue Nov 13, 2024 · 0 comments
Open

Comments

@yarikoptic
Copy link
Member

Inspired by

and in particular the fact that we do not have yet user-accessible API to cancel interrupted/incomplete uploads. To minimize a number of such uploads, I think we should adopt approach similar to the one in offlineimap, and recommended by me also to con-duct (con/duct#184) to react to Ctrl-C so that we

  • unless Ctrl-C is pressed 3 times consecutive within e.g. 3 seconds, we "de-queue" any uploads or downloads which are not yet completed, but otherwise continue until already ongoing processes continue to completion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant