fix comment

This commit is contained in:
wh1te909
2022-04-21 06:32:31 +00:00
parent e60069ec1d
commit d75f134677

View File

@@ -185,7 +185,7 @@ class AutomatedTask(BaseAuditModel):
def delete(self, *args, **kwargs):
# if check is a policy check clear cache on everything
# if task is a policy task clear cache on everything
if self.policy:
cache.delete_many_pattern("site_*_tasks")
cache.delete_many_pattern("agent_*_tasks")