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

Resume on disconected (Error: socket hang up) and token expired #21

Open
salaad opened this issue Mar 20, 2016 · 1 comment
Open

Resume on disconected (Error: socket hang up) and token expired #21

salaad opened this issue Mar 20, 2016 · 1 comment

Comments

@salaad
Copy link

salaad commented Mar 20, 2016

It can't resume on disconnected or token expired.

My suggestion:

  • Cache file list (ex: 100.000 files)
folder = "my_pictures/2016/"
cache_file = "/tmp/my_pictures-2016.cache.json"
last_remember = "/tmp/my_pictures-2016.last.json" 
[
{"id":1, "name": "..."},
{"id":2, "name": "..."}
...
{"id":100.000, "name": "..."}
]
  • Remember last position for resume:
{"last_file_id": 12345}
@salaad salaad changed the title Resume on disconected and token expired Resume on disconected (Error: socket hang up) and token expired Mar 20, 2016
@alex-phillips
Copy link
Owner

@salaad Sorry for the late reply: I've just pushed a bunch of updates to the master branch. Would you be willing to install this? This should have working (and a fix) for a retry mechanism on upload.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants