1
0
Fork 0

adding asnyc handler back

pull/1700/head
Vallie Joseph 2024-04-01 16:57:50 +00:00
parent 4778aebf5b
commit 23039a4345
1 changed files with 1 additions and 4 deletions

View File

@ -84,7 +84,7 @@ export async function createZipUploadStream(
// }) // })
// } // }
const fileUploadQueue = async.queue(function (task, callback) { const fileUploadQueue = async.queue(function (task, callback) {
core.info(`hello ${task.name}`) core.debug(`adding file to upload queue ${task}`)
callback() callback()
}, 1) }, 1)
@ -126,9 +126,6 @@ export async function createZipUploadStream(
core.debug(`Starting the finalizing of all entries`) core.debug(`Starting the finalizing of all entries`)
for (const item of fileUploadQueue) {
core.debug(`Starting the finalizing ${item}`)
}
fileUploadQueue.drain(() => { fileUploadQueue.drain(() => {
core.debug('all items have been processed') core.debug('all items have been processed')
}) })