mirror of
https://github.com/immich-app/immich.git
synced 2025-12-01 03:39:43 +09:00
fix(server): auto-reconnect to database (#12320)
This commit is contained in:
@@ -40,6 +40,7 @@ export interface VectorUpdateResult {
|
||||
export const IDatabaseRepository = 'IDatabaseRepository';
|
||||
|
||||
export interface IDatabaseRepository {
|
||||
reconnect(): Promise<boolean>;
|
||||
getExtensionVersion(extension: DatabaseExtension): Promise<ExtensionVersion>;
|
||||
getExtensionVersionRange(extension: VectorExtension): string;
|
||||
getPostgresVersion(): Promise<string>;
|
||||
|
||||
Reference in New Issue
Block a user