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

Don't always request lazy files #7208

Merged
merged 1 commit into from
May 1, 2018
Merged

Don't always request lazy files #7208

merged 1 commit into from
May 1, 2018

Conversation

thommay
Copy link
Contributor

@thommay thommay commented Apr 30, 2018

Testing with a single remote directory of 100 3 byte files, this drops a chef run from 40 secs to 5 secs when the files are already in the cache (identical to lazy load being disabled).

@thommay thommay requested a review from a team April 30, 2018 11:30
@thommay
Copy link
Contributor Author

thommay commented Apr 30, 2018

This is part of #7185 .

@jaymzh
Copy link
Collaborator

jaymzh commented Apr 30, 2018

Nice catch!

Can we add a test for this though?

@thommay thommay merged commit 843c0d1 into master May 1, 2018
@pudquick
Copy link

pudquick commented May 2, 2018

@thommay This looks like a great change, thank you.

Since 13 is still supported and we see this regression in 13, will an updated 13 release also incorporate this fix?

@pudquick
Copy link

pudquick commented May 2, 2018

Whoops, thought I was on the original issue #7185 page for the discussion. My fault.

@lock
Copy link

lock bot commented Jul 1, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 1, 2018
@tas50 tas50 deleted the tm/lazy_is_too_eager branch July 10, 2018 22:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants