Skip to content

Commit

Permalink
Call CleanAttachmentJob in CleanLogJob
Browse files Browse the repository at this point in the history
  • Loading branch information
APiankouski committed Sep 18, 2024
1 parent 3fb3aa0 commit 4aeff45
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public CleanLogJob(JdbcTemplate jdbcTemplate, CleanAttachmentJob cleanAttachment
@SchedulerLock(name = "cleanLog", lockAtMostFor = "24h")
public void execute() {
removeLogs();
cleanAttachmentJob.moveAttachments();
}

void removeLogs() {
Expand All @@ -84,6 +83,7 @@ void removeLogs() {
}
}
});
cleanAttachmentJob.moveAttachments();
}

private void deleteLogsFromSearchEngineByLaunchIdsAndProjectId(List<Long> launchIds,
Expand Down

0 comments on commit 4aeff45

Please sign in to comment.