in standalone mode a bot would fail on wrong assertion in threaded_worker.h,
in pool mode job controller would keep sending available capacity even after sending shutdown note and program doesn't exit.
This fixes behaviour for standalone mode, and partially fixes behaviour for pool mode, e.g. capacity is no longer sent after shutdown note, but program still doesn't exit (not so critical, could be fixed separately).
Bots didn't react well on
SIGINT
:threaded_worker.h
,This fixes behaviour for standalone mode, and partially fixes behaviour for pool mode, e.g. capacity is no longer sent after shutdown note, but program still doesn't exit (not so critical, could be fixed separately).