Pl3xMap icon indicating copy to clipboard operation
Pl3xMap copied to clipboard

Reloading while a render is ongoing causes massive lag spikes.

Open Maroon28 opened this issue 1 year ago • 1 comments

While an active render is taking place, if the plugin is reloaded at any point, the server hangs very badly. Mine went from ~30 mspt to up to ~560. It stayed like that for about a minute or so before it cooled back down again. Here's a log with an error that was thrown after the reload.

https://pastes.dev/bTZjtFMEpi

Maroon28 avatar Aug 14 '22 02:08 Maroon28

Hmm. Seems it picks up too quickly at resuming the render. I'll have to add a bigger delay to let the old render have time to finish and release the threads.

BillyGalbreath avatar Aug 14 '22 13:08 BillyGalbreath