mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-13 03:21:03 +00:00
add a sleep between each chunk write
This commit is contained in:
parent
717de0d409
commit
414c27ddcb
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ function inject(serv,player)
|
|||
})
|
||||
.reduce((acc,{chunkX,chunkZ})=>
|
||||
acc
|
||||
//.then(() => sleep(10))
|
||||
.then(() => sleep(10))
|
||||
.then(() => serv.world.getColumn(chunkX,chunkZ))
|
||||
.then((column) => sendChunk(chunkX,chunkZ,column))
|
||||
,Promise.resolve());
|
||||
|
|
|
|||
Loading…
Reference in a new issue