mirror of
https://github.com/immich-app/immich.git
synced 2025-07-03 21:40:00 +02:00
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:
parent
35ef82ab6b
commit
f3fbb9b588
3 changed files with 73 additions and 53 deletions
server/src/interfaces
|
@ -20,6 +20,7 @@ export enum DatabaseLock {
|
|||
StorageTemplateMigration = 420,
|
||||
CLIPDimSize = 512,
|
||||
LibraryWatch = 1337,
|
||||
GetSystemConfig = 69,
|
||||
}
|
||||
|
||||
export const extName: Record<DatabaseExtension, string> = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue