def __init__(self): StoppableAsyncTask.__init__(self, self._thread_func) self.work_event = threading.Event() self.logs_to_compress = []
def stop(self): StoppableAsyncTask.stop(self) self.work_event.set()
def __init__(self, s3_comm): StoppableAsyncTask.__init__(self, self._thread_func) self.s3_comm = s3_comm self.work_event = threading.Event() self.logs_to_send = []