Closed leoerlandsson closed 5 years ago
Do you know what the rate limit for classrooms actually is by default https://developers.google.com/classroom/limits
The default in the Lithnet.GoogleApp code was 48/10 seconds, but the default in the configSection for ClassroomApiElement.cs was 500.
I've set it to 50/second as per the above document, but not sure if that is correct
It should be 5/second (or 50/10 seconds).
I tried the higher number (5000 per 100 seconds or 50/sec) and got lots of 429 Backoff responses.
Fixed in 1.0.6996
The RateLimit configuration item ("rate-limit") does not seem to be used in v2.0.6954 when creating the buckets. (E.g. DirectoryApiElement.RateLimit)
This leads to default rate limits being used, and not configurable.
Could you please check?