Skip to content

client.shutdown_worker allows None as worker name #80

@alexandrevicenzi

Description

@alexandrevicenzi

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions