HuskSync
HuskSync copied to clipboard
Synchronization of statistics sometimes causes CPU overload
Synchronization can sometimes stop working, I think this is due to statistics (thread dump -> getItemTypeStatistic), which is why HuskSync starts creating hundreds of non-stopping threads, CPU usage grows to 100%.
This does not always happen and only in the first minutes after the server is turned on after the restart, after which I have to kill the server process and restart it.
Paper 1.21.8, HuskSync 16d4a8f
I have just temporarily disabled syncing statistics so that I can confirm this reason in a few days.