Open liberodark opened 5 years ago
I have the same problem. This renders odrive completely unusable, because it creates files with this error in them, rather than trying again at a later time. So it thinks that the file is synced, but it isn't. I don't even want to think about what happens when you 'touch' the file... the file with this error message in it will propagate to all systems.
Running into the same issue. Quite a few files have been overwritten with the error messages :(
I have run into this. Is there any workaround or is it simply unusable until fixed?
Files list done!
Files list done!
Files list done!
syncing false
Updated syncing status
Updating tray icon, connected: true syncing: false
{ Error: Rate Limit Exceeded
at Request._callback (/home/chrisp/ODrive/node_modules/google-auth-library/lib/transporters.js:85:15)
at Request.self.callback (/home/chrisp/ODrive/node_modules/request/request.js:185:22)
at Request.emit (events.js:182:13)
at Request.<anonymous> (/home/chrisp/ODrive/node_modules/request/request.js:1161:10)
at Request.emit (events.js:182:13)
at IncomingMessage.<anonymous> (/home/chrisp/ODrive/node_modules/request/request.js:1083:12)
at Object.onceWrapper (events.js:273:13)
at IncomingMessage.emit (events.js:187:15)
at endReadableNT (_stream_readable.js:1092:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
code: 403,
errors:
[ { domain: 'usageLimits',
reason: 'rateLimitExceeded',
message: 'Rate Limit Exceeded' } ] }
I am not a Java programmer but I am a programmer. I found this line https://github.com/liberodark/ODrive/blob/master/app/core/sync.js#L778 and tried increasing the delay to 100. That did not work because more often than not the loop does not run, so I added another delay outside the loop in that case and it works.
Does it really need to be limited to 10 files a second? That is much slower than Google's backup and sync.
Now have new systeme on 0.2.2 for more speed download file but the google api limit that :
Need to limit for 1sec / 10 files