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

Better update failure handling #6

Open
ron-popov opened this issue Oct 29, 2017 · 0 comments
Open

Better update failure handling #6

ron-popov opened this issue Oct 29, 2017 · 0 comments

Comments

@ron-popov
Copy link
Member

The current situation is that if the download of one of the files fails, then it deletes all of the files.
I think a better solution would be to save the new files in a temp "folder", lets call it SkyX/temp/.
Once all of the files finished downloading, we will copy all of the files from SkyX/temp/ to SkyX/ and the user will be prompted to reload Geo-FS.

I think this method will make it easier for users with an unreliable internet connection, because one fail would delete SkyX entirely.

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