convertExecArgv()
embedded loop not completing before function
#229
Labels
convertExecArgv()
embedded loop not completing before function
#229
It looks like you're using an async function inside a for loop here:
https://github.com/taskforcesh/bullmq/blob/master/src/classes/child-pool.ts#L18
convertExecArgv()
completes before the loop completes. I'm surprised this hasn't come up before, but I'm dealing with a fairly complex cluster of child processes. What do you guys think? It looks like the async loop function is used only for the sake ofgetPort()
?Maybe this would work better:
The text was updated successfully, but these errors were encountered: