vault creation loop bugfix

This commit is contained in:
Tim Olson
2023-12-28 18:26:58 -04:00
parent a8de41af12
commit 9c882ab283
3 changed files with 13 additions and 9 deletions

View File

@@ -167,7 +167,7 @@ async function doEnsureVault(chainId, owner, num) {
console.log(`requesting vault ${owner} ${num}`)
socket.emit('ensureVault', chainId, owner, num)
}
await sleep(5)
// await sleep(5000) // prevent this process from running more than once every 5 seconds
}
const ensureVaultRoutine = new SingletonCoroutine(doEnsureVault, 100, false)