spam spams faster

This commit is contained in:
Andrzej Stepien 2023-08-10 17:44:48 +02:00
parent 02436414de
commit de00a78817
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -12,7 +12,7 @@ const spam = async ()=>{
const delay = ms => new Promise(res=>{setTimeout(res,ms)}) const delay = ms => new Promise(res=>{setTimeout(res,ms)})
do{ do{
await delay(3000) await delay(1000)
await spam() await spam()
console.log("SPAM!") console.log("SPAM!")
}while(true) }while(true)