Bycelium / PyFlow

An open-source tool for visual and modular block programming in python
GNU General Public License v3.0
1.27k stars 52 forks source link

:beetle: removes kernel timeout #259

Closed AlexandreSajus closed 2 years ago

AlexandreSajus commented 2 years ago

TLDR: Removing a timeout fixes the bug where outputs are shown on the wrong blocks

At the beginning of the project, I put a 1-hour timeout on waiting for a message from the kernel.

It worked quite well until one day where we had an isolated incident that I could not reproduce (it was only happening in one virtual environement) where Pyflow was waiting 1 hour for a message that was not coming. I then switched the timeout to two seconds.

But now, on some long ipyg, this timeout creates issues where the output of one block is shown on another.

I have decided to remove this timeout for now until this creates issues in the beta.