Re-written main process to remove the need to search for a free port & sleep etc., making use of KDB's ability to select a random free port with -p 0W and a callback to the main chat process from the worker once it's initialised
Also removed the switch for enabling/disabling worker - at this point I think worker is pretty integral, and already if you set this to 0b loading would fail - I think when loading bots.q
Re-written main process to remove the need to search for a free port & sleep etc., making use of KDB's ability to select a random free port with
-p 0W
and a callback to the main chat process from the worker once it's initialisedAlso removed the switch for enabling/disabling worker - at this point I think worker is pretty integral, and already if you set this to
0b
loading would fail - I think when loadingbots.q