Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
atheurer committed Nov 22, 2024
1 parent b8dd10a commit dd396ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions queries/cdmq/delete-run.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ program
async function waitFor(docTypes) {
var numAttempts = 1;
var maxAttempts = 10;
var remainingDocTypes = docTypes;
while (numAttempts <= maxAttempts && docTypes.length > 0) {
let promise = new Promise((resolve, reject) => {
setTimeout(() => resolve('done!'), 2000);
Expand Down

0 comments on commit dd396ac

Please sign in to comment.