clean up task locks
This commit is contained in:
@@ -105,6 +105,7 @@ async function releaseAll() {
|
||||
debug('releaseAll: all locks released');
|
||||
}
|
||||
|
||||
// identify programming errors in tasks that forgot to clean up locks
|
||||
async function releaseByTaskId(taskId) {
|
||||
assert.strictEqual(typeof taskId, 'string');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user