mirror of
https://github.com/clearml/clearml-server
synced 2025-01-30 18:36:52 +00:00
Fix old events deletion for re-imported tasks
This commit is contained in:
parent
fa3727c5fc
commit
e94d7fcfa9
@ -1171,7 +1171,7 @@ class PrePopulate:
|
||||
|
||||
if isinstance(doc, cls.task_cls):
|
||||
tasks.append(doc)
|
||||
cls.event_bll.delete_task_events(company_id, doc.id)
|
||||
cls.event_bll.delete_task_events(company_id, doc.id, wait_for_delete=True)
|
||||
|
||||
if tasks:
|
||||
return tasks
|
||||
|
Loading…
Reference in New Issue
Block a user