Function `shutdown_worker` from `kobo/hub/xmlrpc/client.py` allows passing None as the `worker_name` parameter. If my guess is correct, this means any worker can catch the "shutdown task" and be killed which is not good.
Function
shutdown_workerfromkobo/hub/xmlrpc/client.pyallows passing None as theworker_nameparameter.If my guess is correct, this means any worker can catch the "shutdown task" and be killed which is not good.