Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
arithmetic1728 committed Jul 9, 2021
1 parent 2867826 commit 26dacb7
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -975,6 +975,8 @@ public void getRequestMetadata(
final URI uri, Executor executor, final RequestMetadataCallback callback) {
if (useJWTAccessWithScope) {
// This will call getRequestMetadata(URI uri), which handles self signed JWT logic.
// Self signed JWT doesn't use network, so here we do a blocking call to improve
// efficiency. executor will be ignored since it is intended for async operation.
blockingGetToCallback(uri, callback);
} else {
super.getRequestMetadata(uri, executor, callback);
Expand Down

0 comments on commit 26dacb7

Please sign in to comment.