Ke-vin-S commented on code in PR #8791:
URL:
https://github.com/apache/incubator-devlake/pull/8791#discussion_r2975746476
##########
backend/helpers/pluginhelper/api/graphql_async_client.go:
##########
@@ -47,6 +47,8 @@ type GraphqlAsyncClient struct {
getRateCost func(q interface{}) int
}
+const defaultRateLimit = 5000
Review Comment:
Currently it falls back to 5000 (GitHub’s standard limit) when rate info
isn’t available. I agree this shouldn’t be hardcoded—I'll make it configurable
so it can adapt to different scenarios.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]