perf: cache getConfig (#9377)

* cache `getConfig`

* critical fix

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>

---------

Co-authored-by: Daniel Dietzler <36593685+danieldietzler@users.noreply.github.com>
This commit is contained in:
Mert
2024-05-10 14:15:25 -04:00
committed by GitHub
parent 35ef82ab6b
commit f3fbb9b588
3 changed files with 73 additions and 53 deletions

View File

@@ -20,6 +20,7 @@ export enum DatabaseLock {
StorageTemplateMigration = 420,
CLIPDimSize = 512,
LibraryWatch = 1337,
GetSystemConfig = 69,
}
export const extName: Record<DatabaseExtension, string> = {