def net_flow_run(): log.logger.info("net_flow thread start...") net = NetFlow(_u_id) while True: net.on_timer() time.sleep(0.01)