HB_Interval Class Attribute in SmartWebSocket?
-
Is the HB_INTERVAL class attribute used to control the time period between which to receive the data of selected scripts?
Since I also saw time.sleep(HB_INTERVAL) under run object.
If so, how do I control this?
def run(self): while True: # More statements comes here if self.HB_THREAD_FLAG: break print(datetime.datetime.now().__str__() + ' : Start task in the background') self.heartBeat() time.sleep(self.HB_INTERVAL)
-
HI @Vypy We have noted this We will update you on this.