Open chrisflatley opened 3 years ago
Unclear the issue here:
Potential solutions options
Does the Python client respect the rate limiting? (Unclear... but I guess we want to avoid getting there anyway).
Can we use a larger chunk size and upload quicker? I think it's 1mb at the min which is tiny. Could it be bigger (I think I tried and the answer was no at the time). Little information on the actual limits here but perhaps a start point https://techcommunity.microsoft.com/t5/microsoft-sharepoint-blog/always-use-file-chunking-to-upload-files-gt-250-mb-to-sharepoint/ba-p/509988
Is it actually rate limited, or is it the our devk8s runner? It seems suspicious it dies after 1 hour when in fact the job is 120 mins. Perhaps the runner is being killed and the 429 client errors are merely logging, but being dealt with. Check the k8s logs.
This is 3gb zip, should it be divided to smaller pieces? Would that work better? (or would be just 1Gb done and then an error).
Option to upload to OneDrive instead, the API looks the same - so I assume the limitations are the same too.
What happened?
The 3Gb package fails with 429 in crafty-amulet...
Some logs:
What did you expect to happen?
File should have uploaded.
Any relevant technical information (OS, versions, logs)?
Running in devk8s, die after exactly 1 hour though.