Skip to content

unshare: memoize HomeDir()#669

Merged
rhatdan merged 1 commit intocontainers:masterfrom
giuseppe:memoize-homedir
Jul 14, 2020
Merged

unshare: memoize HomeDir()#669
rhatdan merged 1 commit intocontainers:masterfrom
giuseppe:memoize-homedir

Conversation

@giuseppe
Copy link
Copy Markdown
Member

do the potentially expensive user lookup function just once.

Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com

do the potentially expensive user lookup function just once.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Copy link
Copy Markdown
Member

@vrothberg vrothberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, LGTM!

@rhatdan
Copy link
Copy Markdown
Member

rhatdan commented Jul 14, 2020

LGTM

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.

3 participants