'Periodically send statistics to master server.'

def PeriodicallySendStatistics(self):

    sleep = config.CONFIG['Dataserver.stats_frequency']
    self.failed = 0
    self.stat_thread = utils.InterruptableThread(name='DataServer    stats    sender', target=self._PeriodicThread, sleep_time=sleep)
    self.stat_thread.start()
