Skip to content

/interrupt should allow specifying prompt_id #5

@realazthat

Description

@realazthat

The post /interrupt endpoint allows clearing the current running node. However, a race condition might result in it cancelling the wrong job. The PostInterrupt() should take a prompt_id to ensure it will cancel the correct job only.

See api_client_base.py:

async def PostInterrupt(self):

See server.py:

https://github.com/comfyanonymous/ComfyUI/blob/ee2c5fa72d4fc1714576fac7ba64aa5d607303d0/server.py#L507

Blocked on: Comfy-Org/ComfyUI#2566

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions