@live-change/framework 0.4.43 → 0.4.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40,7 +40,7 @@ async function startCommandExecutor(service, config) {
|
|
|
40
40
|
return result
|
|
41
41
|
})
|
|
42
42
|
routine.key = keyFunction(command)
|
|
43
|
-
const promise = service.
|
|
43
|
+
const promise = service.keyBasedExecutionQueues.queue(routine)
|
|
44
44
|
await service.profileLog.endPromise(profileOp, promise)
|
|
45
45
|
return promise
|
|
46
46
|
})
|
|
@@ -54,7 +54,7 @@ async function startTriggerExecutor(service, config) {
|
|
|
54
54
|
console.error("QUEUE KEY FUNCTION ERROR", e)
|
|
55
55
|
}
|
|
56
56
|
console.log("TRIGGER QUEUE KEY", routine.key)
|
|
57
|
-
const promise = service.
|
|
57
|
+
const promise = service.keyBasedExecutionQueues.queue(routine)
|
|
58
58
|
await service.profileLog.endPromise(profileOp, promise)
|
|
59
59
|
return promise
|
|
60
60
|
})
|