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

Extended remote folder read time (probably due to rate limiting by dropbox) #10

Open
Blakestr opened this issue Aug 30, 2018 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Blakestr
Copy link

Not sure what to do about this. Wouldn't be an issue if it was only a one time thing. Assuming every time this installer script is run as a new install it has to read the folders. A 100 gb dropbox with 51,633 Files, 16,844 Folders (minus whatever Rclone created) took approximately 1 hour.

@Jandalf81
Copy link
Owner

Might be related to rclone/rclone#1788

@Jandalf81 Jandalf81 added the bug Something isn't working label Aug 30, 2018
@Jandalf81 Jandalf81 self-assigned this Aug 30, 2018
@Jandalf81
Copy link
Owner

Possible solution: change the way remote directories are checked

Now: get a list of all folders, check each entry in that list if it's the configured remote base dir
Better: Make it a direct check if the remote base dir exists (like if [ -d /path/to/dir ]; then...)

@Jandalf81
Copy link
Owner

Jandalf81 commented Sep 1, 2018

Changed the way the script checks for the remote base directory with commit a8564b2. Now it tries to list the contents of remotebasedir which

  • returns 0 if that directory exists
  • returns 3 if that directory does not exist

That should be way faster as there's no listing of all directories in the DropBox account involved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants