Closed iGoinbl closed 6 days ago
It's hard to tell what your code is actually doing and when this function is called. Why is it important to provide a minimal reproducible example?
Is the image loaded via websocket? Maybe there is a max_buffer_size
which block big data packages like we see in #3410.
Description
websocket connection time out :
i wanted to ask something about my app first of here it is a snapshot of it : everything is working great now except for one thing i am connected to comfyui as a backend with websockets ok ? when the generated image is large 4k or larger it doesn't return anything and the app gets time out message and reloads the websockets connection says 1000 sometimes more ms i already optimised the upload with aiofiles i convert all the images to web p with max size 2048 pixels max for viewing into the ui i think this problem happens when the webscoket is saving the image from comfyui since it taking long the ui freezes it is not when the ui is trying to load the webp its when the image generation is done and its saving this problem is not happening with 2k images do you guys have any idea any help would be great