Skip to content

image generation endpoints need a cancel operation api call #1531

@HarvieKrumpet

Description

@HarvieKrumpet

Issuing a sdapi call for long generations, is easy enough to cancel on the client side. but the generation server will continue to process until it actually has to respond with the image. At which point it notices that it has no connection. But this could be minutes later. and in the meantime, no more images can be started until it figures this out. The api needs to poll in a background task at least that the tcp connection is still valid. Or a separate cancel api call to abort any current operations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    KIV for nowSome issues prevent this from being mergedenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions