optimalization of loading oracle structure

This commit is contained in:
Jan Prochazka
2023-02-26 09:40:12 +01:00
parent 64ceea3779
commit 622773fccd
3 changed files with 17 additions and 10 deletions

View File

@@ -271,7 +271,7 @@ async function handleSqlPreview({ msgid, objects, options }) {
process.send({ msgtype: 'response', msgid, sql: dmp.s, isTruncated: generator.isTruncated });
if (generator.isUnhandledException) {
setTimeout(() => {
getLogger.info('Exiting because of unhandled exception');
logger.error('Exiting because of unhandled exception');
process.exit(0);
}, 500);
}

View File

@@ -235,7 +235,10 @@ export class DatabaseAnalyser {
if (this.pool.feedback) {
this.pool.feedback(obj);
}
}
if (obj && obj.analysingMessage) {
logger.debug(obj.analysingMessage);
}
}
async getModifications() {
const snapshot = await this._getFastSnapshot();