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

Remove duplicate database calls for AppSettings #2304

Closed

Conversation

Jigsaw5279
Copy link

Description

Using the AppSettings facade created a ton of duplicate calls to the database.

This PR introduces two small in-memory array caches to entirely remove those duplicate calls

@CLAassistant
Copy link

CLAassistant commented Jul 10, 2023

CLA assistant check
All committers have signed the CLA.

@Jigsaw5279 Jigsaw5279 force-pushed the feature/limit-app-setting-queries branch 2 times, most recently from 5e9e97d to 4ebf226 Compare July 10, 2023 09:49
@Jigsaw5279 Jigsaw5279 force-pushed the feature/limit-app-setting-queries branch from 4ebf226 to ddcc48e Compare July 10, 2023 09:50
@ifox
Copy link
Member

ifox commented Nov 29, 2023

Thanks for your contribution and sorry for the delay to review and merge. In the meantime, another contributor submitted a more robust solution building upon yours. It has been merged in #2369 and will be released in Twill 3.1.

@ifox ifox closed this Nov 29, 2023
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