l3uddz / cloudplow

Automatic rclone remote uploader, with support for multiple remote/folder pairings. UnionFS Cleaner functionality: Deletion of UnionFS whiteout files and their corresponding files on rclone remotes. Automatic remote syncer: Sync between different remotes via a Scaleway server instance, that is created and destroyed at every sync.
GNU General Public License v3.0
345 stars 46 forks source link

Max Transfer Reached timeout is hard coded #98

Closed RobLaw0304 closed 2 years ago

RobLaw0304 commented 3 years ago

Max Transfer Reached (Error Code 7) from rclone triggers a mandatory 25 hour cooldown that cannot be configured through the config.json.

Similar to how rclone_sleeps are being defined in the config.json, an Error Code 7 behavior parameter could also be added.

I prefer that if rclone runs out of quota for the day, that it try again in 4 hours since the quota is on a rolling timeline and I do small batches of upload throughout the day. If cloudplow detects a log defined in rclone_sleeps, it works well, but on my new seedbox that uses supervisorctl, for some reason it captures the Error Code 7 on quota limit reached. I have no way of controlling that parameter. I was able to modify uploader.py and change it to 4 to fix my problem, but a parameter should be added to config.json to make this user-friendly and update-friendly.