Relative Content

Tag Archive for asynchronouswebsocketasync-awaitpython-asynciotornado

Tornado websocket Handler blocking requests while running bash script

I’m using tornado to create a websocket handler for my server, which execute a script and return output to client line by line. This is working fine until I make other requests to server while this part of websocket code is running. I’m not much proficient in asynchronous programming to find out issue in my code. Below is my handler code: