fix a potential freeze
This commit is contained in:
parent
2bd897a6f6
commit
78bcace8ed
2 changed files with 19 additions and 7 deletions
|
@ -58,7 +58,7 @@ async function main() {
|
|||
} else {
|
||||
failCount++
|
||||
if (failCount > 1000) {
|
||||
console.log("Finding a qunique string took too long, exiting...")
|
||||
console.log("Finding a unique string took too long, exiting...")
|
||||
process.exit(0)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue