Closed dima-dmytruk23 closed 1 year ago
Perhaps this is due to the fact that I created the stream in a child process, and I'm trying to kill it in the parent?
@dima-dmytruk23 what was the issue? And how did you resolve it? I have similar problem, I try to kill the stream in a handler function. But looks like it cannot do that
@dima-dmytruk23в чем проблема? И как вы это решили? У меня похожая проблема, я пытаюсь убить поток в функции-обработчике. Но похоже, что он не может этого сделать
The problem was that I created streams in child processes (multiprocessing), and tried to close them in the parent. I ended up using multiprocessing.Queue to keep the objects in sync.
Version of this library.
unicorn_binance_websocket_api==1.40.7
Solution to Issue cannot be found in the documentation or other Issues and also occurs in the latest version of this library.
Hardware?
Local server/workstation
Operating System?
Linux
Python version?
Python3.9
Installed packages
No response
Logging output
Processing method?
stream_buffer
Used endpoint?
binance.com-futures
Issue
Hello. I created a flow
['kline_1h'], ['btcusdt']
After a while I try to cancel this stream
But I see the data keeps coming...