Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v12] Only call 'user.Current' when we really need to #24573

Merged
merged 1 commit into from Apr 13, 2023

Conversation

capnspacehook
Copy link
Contributor

Backport #24156 to branch/v12.

Calling 'user.Current' can be extremely slow in some instances, so avoid
it when possible.
@github-actions github-actions bot added backport size/md tsh tsh - Teleport's command line tool for logging into nodes running Teleport. labels Apr 13, 2023
@capnspacehook capnspacehook added this pull request to the merge queue Apr 13, 2023
Merged via the queue into branch/v12 with commit c232343 Apr 13, 2023
18 checks passed
@capnspacehook capnspacehook deleted the bot/backport-24156-branch/v12 branch April 13, 2023 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport size/md tsh tsh - Teleport's command line tool for logging into nodes running Teleport.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants