TileEntityElectricFloodlight causing 1100ms+ TPS spikes and 22 second can't keep ups on the server
mskurnik opened this issue ยท 3 comments
After getting 22 seconds worth of constant can't keep ups, I used the VisualVM tool to check what was causing the lag. The entries below are causing an insane amount of lag
de.keridos.floodlights.tileentity.TileEntityElectricFloodlight.removeSource() 70.46779 918 ms (70.5%) 241
de.keridos.floodlights.tileentity.TileEntityElectricFloodlight.addSource() 16.666641 217 ms (16.7%) 57
I think I encountered this issue in my local environment as well, already working on a fix for this.
Test this build please: https://www.ironhide.de/jenkins/job/FloodLights/108/
Should fix that issue.
/edit: Wrong link, corrected now.