screwdriver-queue-service 6.0.0 → 6.0.1
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.
package/package.json
CHANGED
|
@@ -493,7 +493,7 @@ async function start(executor, config) {
|
|
|
493
493
|
{
|
|
494
494
|
buildId,
|
|
495
495
|
jobId,
|
|
496
|
-
blockedBy
|
|
496
|
+
blockedBy,
|
|
497
497
|
blockedBySameJob,
|
|
498
498
|
blockedBySameJobWaitTime
|
|
499
499
|
}
|
|
@@ -758,13 +758,7 @@ async function stopTimer(executor, config) {
|
|
|
758
758
|
async function stop(executor, config) {
|
|
759
759
|
await executor.connect();
|
|
760
760
|
|
|
761
|
-
const { buildId, jobId } = config; // in case config contains something else
|
|
762
|
-
|
|
763
|
-
let blockedBy;
|
|
764
|
-
|
|
765
|
-
if (config.blockedBy !== undefined) {
|
|
766
|
-
blockedBy = config.blockedBy.toString();
|
|
767
|
-
}
|
|
761
|
+
const { buildId, jobId, blockedBy } = config; // in case config contains something else
|
|
768
762
|
|
|
769
763
|
const numDeleted = await executor.queueBreaker.runCommand('del', executor.buildQueue, 'start', [
|
|
770
764
|
{
|