4.8.5 perf app ui (#1845)

* list ui and layout

* rename token key

* app ui

* ssr
This commit is contained in:
Archer
2024-06-25 19:37:28 +08:00
committed by GitHub
parent c8bc9838e3
commit 9aa6fd4904
15 changed files with 10426 additions and 8254 deletions

View File

@@ -22,7 +22,7 @@ export const connectPg = async (): Promise<Pool> => {
});
global.pgClient.on('error', async (err) => {
console.log(err);
addLog.error(`pg error`, err);
global.pgClient?.end();
global.pgClient = null;
@@ -36,6 +36,7 @@ export const connectPg = async (): Promise<Pool> => {
console.log('pg connected');
return global.pgClient;
} catch (error) {
addLog.error(`pg connect error`, error);
global.pgClient?.end();
global.pgClient = null;