feat(backend): support replication of postgresql

Resolve #10205
This commit is contained in:
syuilo
2023-04-08 15:53:36 +09:00
parent 132feea1fa
commit 9114c8cb8e
7 changed files with 96 additions and 0 deletions

View File

@@ -25,6 +25,16 @@ export type Source = {
disableCache?: boolean;
extra?: { [x: string]: string };
};
dbReplications?: boolean;
dbSlaves?: {
host: string;
port: number;
db: string;
user: string;
pass: string;
disableCache?: boolean;
extra?: { [x: string]: string };
}[];
redis: {
host: string;
port: number;