MCPcopy Index your code
hub / github.com/1Panel-dev/MaxKB / handle_task_start

Method handle_task_start

apps/ops/celery/logger.py:185–187  ·  view source on GitHub ↗
(self, task_id)

Source from the content-addressed store, hash-verified

183 self.f and self.f.flush()
184
185 def handle_task_start(self, task_id):
186 log_path = get_celery_task_log_path(task_id)
187 self.f = open(log_path, 'a')
188
189 def handle_task_end(self, task_id):
190 self.f and self.f.close()

Callers

nothing calls this directly

Calls 2

get_celery_task_log_pathFunction · 0.85
openFunction · 0.50

Tested by

no test coverage detected