zoe icon indicating copy to clipboard operation
zoe copied to clipboard

Output logs make firefox crash

Open thpiotrowski opened this issue 7 years ago • 1 comments

Hello, We have enabled the output logs in ZOE but if the log is very verbose after a while firefox stops responding. When we were looking at the logs in shipyard or portainer we didn't have this issue. It is very convenient for ZOE users to have these logs available in their execution page because sometimes you only get the real error message in these logs. Brgds, Thomas

thpiotrowski avatar Feb 21 '18 12:02 thpiotrowski

Hi, We added a sleep between each line sent to avoid crashing the browser. In the file zoe_api/web/websocket.py just after the line 86 we added yield tornado.gen.sleep(0.09). It is not perfect but at least we avoid the crash.

thpiotrowski avatar Mar 25 '19 08:03 thpiotrowski