alexey2baranov
alexey2baranov
in my current project we use TypeORM to interact with Aurora AWS. Sometimes Aurora shutdowns server and instantiates another one. Previous team used Sequelize internal `retry` feature to handle this...
TypeORM has internal custom logger feature which I guess may be utilized for this purpose. Currently we utilize it to collect SQL, start time, end time and parameters of each...
BTW: doesn't this canRetry do the job? https://typeorm.io/multiple-data-sources#replication ``` /** * If true, PoolCluster will attempt to reconnect when connection fails. (Default: true) */ canRetry: true, ```
my workaround is to remove from karma.conf everything about chai-as-promised and add this lines at the begining of test file ```js var expect = require('chai').expect; require("chai").use(require("chai-as-promised")) ```
@vduseev thanks for helping. Yeah you are right we are using AWS OpenSearch