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:
MertandDaniel Dietzler authored and GitHub committed 2024-05-10 18:15:25 +00:00
1 parent 35ef82ab6b
commit f3fbb9b588
3 files changed
+73 -53

No files matched your search

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