I have written a program that uses multiple threads to access SharePoint online REST api's to make many 1000's of web service calls. After a while I get 429 errors due to my heavy usage.
I only have one SharePoint online account that I am making all the requests through.
I notice that there is a
Retry-After header, and this link about 429 rate limiting handling provides a way to use a retry loop using the retry-after header as a guide.
Retry-After really have any meaning when you are accessing the software with multiple threads? Because if you wait the specified number of seconds, wouldn't another thread just reset that anyway?