DynmapCore
DynmapCore copied to clipboard
Lower thread pool timeout
https://github.com/webbukkit/DynmapCore/blob/c3cdff44ce13c315a01e8f8eac3b5d19b04ce0c3/src/main/java/org/dynmap/DynmapCore.java#L795
I noticed in debugger that I had a ton of "etp" threads. Traced it down to jetty from dynmap.
The code times them out in 60 seconds, but I'm afraid that each thread is eventually popping 1 task off within that 60 seconds to keep each thread alive. I do not see threads closing....
suggest dropping it to like 1-5 seconds so that they can close and only open on burst traffic.
@mikeprimm saw a thread dump that reminded me of this issue.