Browse Source

fix: execute queries sequentially in case mssql to avoid transaction/timeout issue (#1860)

re #1790

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/1867/head
Pranav C 2 years ago committed by GitHub
parent
commit
08acd2ff78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nocodb/src/lib/utils/NcHelp.ts

2
packages/nocodb/src/lib/utils/NcHelp.ts

@ -5,7 +5,7 @@ export default class NcHelp {
fns: Array<() => Promise<any>>,
dbType: string
): Promise<any> {
if (dbType === 'oracledb') {
if (dbType === 'oracledb' || dbType === 'mssql') {
for (const fn of fns) {
await fn();
}

Loading…
Cancel
Save