diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2017-08-17 14:57:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-17 14:57:28 -0700 |
commit | 4558762a3b8bf76d5b19286af01f983f185d083c (patch) | |
tree | d0cd33ab18f78d6482c2a6c889cb555d4ca7408a | |
parent | 106d175c8c4e038960a9f3304fdfe36450fdf784 (diff) | |
parent | 22cc56f0c777cc2a336aaa065a2995f2e48394a4 (diff) |
Merge pull request #12203 from mdzoba/mdzoba-fix-issue-11512
Fix assert in grpc_timer_init().
-rw-r--r-- | src/core/lib/security/credentials/oauth2/oauth2_credentials.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/lib/security/credentials/oauth2/oauth2_credentials.c b/src/core/lib/security/credentials/oauth2/oauth2_credentials.c index c59e55136c..10b270c49c 100644 --- a/src/core/lib/security/credentials/oauth2/oauth2_credentials.c +++ b/src/core/lib/security/credentials/oauth2/oauth2_credentials.c @@ -296,10 +296,10 @@ static bool oauth2_token_fetcher_get_request_metadata( gpr_mu_unlock(&c->mu); if (start_fetch) { grpc_call_credentials_ref(creds); - c->fetch_func(exec_ctx, grpc_credentials_metadata_request_create(creds), - &c->httpcli_context, &c->pollent, - on_oauth2_token_fetcher_http_response, - gpr_time_add(gpr_now(GPR_CLOCK_REALTIME), refresh_threshold)); + c->fetch_func( + exec_ctx, grpc_credentials_metadata_request_create(creds), + &c->httpcli_context, &c->pollent, on_oauth2_token_fetcher_http_response, + gpr_time_add(gpr_now(GPR_CLOCK_MONOTONIC), refresh_threshold)); } return false; } |