-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Avoid file system access on checking if an image exists #30624
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see why it was done the old way. But it basically means the cache (appconfig) is not trusted, so it's not helping.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@juliushaertl please adjust the tests |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
90376e2
to
3d0b5c1
Compare
Tests adjusted, samba failure unrelated. |
Save some time and potential file system setup when obtaining capabilities (which is done on every template response) for gathering theming capabilities by not getting the background image file but just checking if one is configured.