@mcma/data
Advanced tools
Comparing version 0.16.15 to 0.16.16
@@ -87,7 +87,13 @@ "use strict"; | ||
} | ||
await this.deleteLockData(this.versionId); | ||
try { | ||
await this.deleteLockData(this.versionId); | ||
this.logger?.debug("Released lock for mutex '" + this.mutexName + "' by '" + this.mutexHolder + "'"); | ||
} | ||
catch (e) { | ||
this.logger?.warn(e); | ||
this.logger?.warn("Failed to release lock for mutex '" + this.mutexName + "' by '" + this.mutexHolder + "'. Probably it was already released"); | ||
} | ||
this.hasLock = false; | ||
this.logger?.debug("Released lock for mutex '" + this.mutexName + "' by '" + this.mutexHolder + "'"); | ||
} | ||
} | ||
exports.DocumentDatabaseMutex = DocumentDatabaseMutex; |
{ | ||
"name": "@mcma/data", | ||
"version": "0.16.15", | ||
"version": "0.16.16", | ||
"description": "Node module with helper utils for dealing with data in the EBU MCMA framework", | ||
@@ -32,6 +32,6 @@ "engines": { | ||
"peerDependencies": { | ||
"@mcma/core": "0.16.15" | ||
"@mcma/core": "0.16.16" | ||
}, | ||
"devDependencies": { | ||
"@mcma/core": "0.16.15", | ||
"@mcma/core": "0.16.16", | ||
"@types/node": "^18.15.10", | ||
@@ -38,0 +38,0 @@ "jasmine": "^3.3.1" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16130
346