Open sundarkast opened 3 years ago
Seeing this when letting it run in nohup mode in background -- the WSS subscription class self closes within a few hours; using implementation as indicated in usage example:
def on_close(self): logging.info(f"-- Goodbye! -- {self.message_count}")
[INFO ] -- Goodbye!
How to avoid this? The code is v useful but this is a show stopper as the price ticker is central to any action that can be taken.
Same Issue - does the keepalive function need to be modified?
Seeing this when letting it run in nohup mode in background -- the WSS subscription class self closes within a few hours; using implementation as indicated in usage example:
def on_close(self): logging.info(f"-- Goodbye! -- {self.message_count}")
[INFO ] -- Goodbye!
How to avoid this? The code is v useful but this is a show stopper as the price ticker is central to any action that can be taken.