feagi / brain-visualizer

Apache License 2.0
1 stars 1 forks source link

websocket got killed if idle too far, on different tab, or frozen bv. #307

Closed Kakcalu13 closed 1 month ago

Kakcalu13 commented 4 months ago

It sounds very good on paper, it becomes an unexpectedly big problem in the cloud, especially for users who rely heavily on BV with a large genome.

It disconnects frequently and doesn't help others make progress in general. This should make life easier, but it brings us more problems than it solves. We should explore this further to identify the main issue that is causing the websocket to close

Amir-Rasteg commented 4 months ago

websocket closing when the tab is changed is the behavior of most web browsers, since they pause execution of anything that is on a non active tab.

https://docs.godotengine.org/en/stable/tutorials/export/exporting_for_web.html#background-processing

we will instead need to discuss implementations of retrying connections after it drops

Amir-Rasteg commented 1 month ago

We have basic retry functionality now