

def _write_debug_stats(self):
    polling_interval = max(DEBUG_STATS_MIN_WRITE_INTERVAL, self.conf.cisco_pnr.dhcp_stats_interval)
    while True:
        eventlet.sleep(polling_interval)
        self.debug_stats.write_stats_to_file()

dataset/ETHPy150Open openstack/networking-cisco/networking_cisco/plugins/cisco/cpnr/dhcp_relay.py DhcpRelayAgent._write_debug_stats/original