Skip to content

Reduce contention while acquiring credentials#6

Open
Ankur Goyal (ankrgyl) wants to merge 11 commits intov0.13.2-tweaksfrom
credentials-fix
Open

Reduce contention while acquiring credentials#6
Ankur Goyal (ankrgyl) wants to merge 11 commits intov0.13.2-tweaksfrom
credentials-fix

Conversation

@ankrgyl
Copy link
Copy Markdown

  • Don't hold the lock while awaiting new credentials. It can sometimes take a long time (like a minute)
  • Use a stale-while-revalidate pattern, so we do not block concurrent requests while refetching credentials

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant