-
Notifications
You must be signed in to change notification settings - Fork 144
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
Fix #113 | Handle more api errors | More robust credentials handling | Misc #117
Conversation
930f726
to
39f8cfd
Compare
9c7f08f
to
b1ae0dc
Compare
@labbots Approve |
4a53368
to
560ee15
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Akianonymus Do not add more commits to this PR. If you make any further changes then create a new PR.
Thank you
Yeah, i should actually seperate these into different prs. |
b16fe46
to
4ec7829
Compare
7ee53fe
to
a23fd6d
Compare
launch a background service to check access token and update it checks ACCESS_TOKEN_EXPIRY, try to update before 5 mins of expiry, a fresh token gets 60 mins ( 3600 seconds ) process will be killed when script exits dont update config in bg service, update at script exit create a temp file where updated access token will be stored by the bg service every function that uses access token will source it on every call make a new function named _api_request for all oauth network calls decrease a network request ( to fetch expiry of access token, just calculate it locally using remaining time given in json as expires_in ) google-oauth2.[bash|sh]: Apply new changes
@labbots approve, this can be merged now. |
61486ec
to
9b6b848
Compare
Handle edgecase when curl http code is 000 in case of resumeable uploads proper handle other problems like rate limits, or any other api side problem follow # rclone/rclone#3857 (comment) never retry if upload limit is reached ( upload qouta )
use regex pattern to verify ( to some extent )
@Akianonymus I keep reviewing this massive PR over and over again. Kindly merge this PR and then create a new PR for any additional changes. |
No description provided.