krita-ai-diffusion icon indicating copy to clipboard operation
krita-ai-diffusion copied to clipboard

Fix 1137: Display ComfyUI Queue State

Open FeepingCreature opened this issue 1 year ago • 3 comments

Fix #1137: Query ComfyUI queue state and use it to display count of jobs in the queue before ours.

Also avoid clearing jobs that aren't ours.

FeepingCreature avatar Sep 06 '24 19:09 FeepingCreature

Re why didn't I fix cancel current... so far as I can tell, this can only cancel another user's task if you do it right as a task starts and ends, and that's p much unavoidable due to comfy's anemic api, ie. interrupt not having a way to specify the job id we expect.

FeepingCreature avatar Sep 06 '24 20:09 FeepingCreature

Something's wrong with the code as it stands, queueing pictures makes the progress bar flicker. I'll check the logs tomorrow.

FeepingCreature avatar Sep 10 '24 20:09 FeepingCreature

Ah ftr I'm not gonna touch this until end of the week cause I'm on a conference :)

FeepingCreature avatar Sep 16 '24 19:09 FeepingCreature

Kinda drifted away from this pr over time tbh. I don't even run it myself. Gonna close for now.

FeepingCreature avatar Jan 22 '25 18:01 FeepingCreature