Skip to content

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

Open

Description

@salaad

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}

Activity

  1. changed the title [-]Resume on disconected and token expired[/-] [+]Resume on disconected (Error: socket hang up) and token expired[/+] on Mar 20, 2016
  2. alex-phillips commented on Jun 14, 2016

    @alex-phillips
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions