You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
markDirty() in the tick loop. Could be ok if it was marking say an animation for the machine when it starts processing stuff but it seems to be marking the data to be written to disk all the time. Potential to create excess lag. sync() spamming packets to the client, same reason as markDirty really, potential to cause lag on the server and delay other packets from being sent in time
The text was updated successfully, but these errors were encountered:
sleepy-evelyn
changed the title
Read/write from disk during the tick loop
continually writing data to disk and syncing packets from the tick loop
Apr 27, 2021
An example here: https://github.com/Archydra-Studios/Through-the-Looking-Glass/blob/master/src/main/java/azzy/fabric/lookingglass/blockentity/GrinderEntity.java#L53
markDirty()
in the tick loop. Could be ok if it was marking say an animation for the machine when it starts processing stuff but it seems to be marking the data to be written to disk all the time. Potential to create excess lag.sync()
spamming packets to the client, same reason as markDirty really, potential to cause lag on the server and delay other packets from being sent in timeThe text was updated successfully, but these errors were encountered: