Skip to content

Commit

Permalink
Remove saveAndFlush()
Browse files Browse the repository at this point in the history
  • Loading branch information
bensofficial committed Oct 8, 2023
1 parent f0c7509 commit 6e62644
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,6 @@ public void setupBuildPlansForNewExercise(ProgrammingExercise programmingExercis

giveCIProjectPermissions(programmingExercise);

programmingExerciseRepository.saveAndFlush(programmingExercise);

// trigger BASE and SOLUTION build plans once here
continuousIntegrationTriggerService.orElseThrow().triggerBuild(programmingExercise.getTemplateParticipation());
continuousIntegrationTriggerService.orElseThrow().triggerBuild(programmingExercise.getSolutionParticipation());
Expand Down

0 comments on commit 6e62644

Please sign in to comment.