Search before asking
What happened

sometimes PrCollector in graphql will raise 502.
What do you expect to happen
collect success.
How to reproduce
- use graphql_github to collect
https://github.com/apache/jackrabbit-oak
- it will raise 502.
Anything else
The reason is too much data on each page. Now 30 pr, 30 * most 100 commits will bind to one graphql query. But I think it will be too slow if set to less than 30 pr per page. In past, the number is 100 pr per page.
Maybe we need a dynamic page size. It could request 100 per page and reduce less if 502 got.
Version
main
Are you willing to submit PR?
Code of Conduct
Search before asking
What happened
sometimes PrCollector in graphql will raise 502.
What do you expect to happen
collect success.
How to reproduce
https://github.com/apache/jackrabbit-oakAnything else
The reason is too much data on each page. Now 30 pr, 30 * most 100 commits will bind to one graphql query. But I think it will be too slow if set to less than 30 pr per page. In past, the number is 100 pr per page.
Maybe we need a dynamic page size. It could request 100 per page and reduce less if 502 got.
Version
main
Are you willing to submit PR?
Code of Conduct