Hello. I have few websockets open for trade info. I receive websocket messages and sometimes I run some script based on message. It seems to me that until the scipt is finished, many messages on websocket buffer and then they overload my processing script.
Is there any way how to clear all buffered messages, either by reading/discarding buffered messages, or clear the buffer directly?
Thank you, Jan