Skip to content

Investigate smarter code timeouting without killing the worker #178

Open
@jolampi

Description

@jolampi

Blocking infinite loop like

while True:
    pass

prevents the worker from responding to anything. At the moment these situations are handled by killing the whole worker. If these loops could be asyncified (like input() already is) or interrupted by some other means, timeouting could be implemented within the worker itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions