You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// this call is probably - it's not documented - not counted in the rate limit
graphQLClient.executeSync("query {\n" +
"rateLimit {\n" +
" limit\n" +
" cost\n" +
" remaining\n" +
" resetAt\n" +
" }\n" +
"}");
returngraphQLClient;
}
But as far as I can tell, there is absolutely no code to call the close() method on the created client.
Maybe we should just close it after all events have been processed? (careful though, it's reactive code so it's non-trivial to say when processing ends exactly...)
Maybe it should be cached like the non-graphQL client, and renewed every 10 minutes, and closed after 20 minutes?
The text was updated successfully, but these errors were encountered:
This code creates a client:
quarkus-github-app/deployment/src/main/java/io/quarkiverse/githubapp/deployment/GitHubAppProcessor.java
Lines 457 to 468 in 7faa8a1
By calling this:
quarkus-github-app/runtime/src/main/java/io/quarkiverse/githubapp/runtime/github/GitHubService.java
Lines 119 to 140 in 978708a
quarkus-github-app/runtime/src/main/java/io/quarkiverse/githubapp/runtime/github/GitHubService.java
Lines 157 to 177 in 978708a
But as far as I can tell, there is absolutely no code to call the
close()
method on the created client.Maybe we should just close it after all events have been processed? (careful though, it's reactive code so it's non-trivial to say when processing ends exactly...)
Maybe it should be cached like the non-graphQL client, and renewed every 10 minutes, and closed after 20 minutes?
The text was updated successfully, but these errors were encountered: