mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-11 04:52:14 +00:00
This is so that we don't over-saturate the RUNTIME/localset pool during startup. I observed that we can block `kcli top` for some time with the new defaults for localset size, because the spoolin logic was assuming that it could spawn more tasks than there were localset threads. This commit includes some tweaks to allow a thread pool to be short lived and tear itself down, and some also in `kcli top` so that we can sanely present the thread pool finishing up and going away.