(231401) master to test #1466

Merged
alexm merged 29 commits from 231401_master_to_test into test 2023-04-21 10:38:37 +00:00
1 changed files with 10 additions and 2 deletions
Showing only changes of commit 5dd7c7e3bd - Show all commits

View File

@ -108,8 +108,16 @@ module.exports = Self => {
return cleanCount;
} finally {
try {
await Self.rawSql(`DO RELEASE_LOCK(?)`, [lockName], opts);
} catch (err) {
console.error(err);
}
try {
await tx.rollback();
} catch (err) {
console.error(err);
}
}
};
};