Skip to content

Commit 5e999cc

Browse files
authored
Merge branch 'main' into make-cleanup-scheduler-multi-pod-save
2 parents 357c405 + e37c8a7 commit 5e999cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/it/aboutbits/springboot/emailservice/lib/application

src/main/java/it/aboutbits/springboot/emailservice/lib/application/ManageEmail.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ Email completeClaimedSend(Email email) {
139139
);
140140
}
141141
}
142-
return emailRepository.save(email);
142+
return transactionTemplate.execute(_ -> emailRepository.save(email));
143143
}
144144

145145
// Atomically flips a not-yet-cleaned SENT row to cleaned

0 commit comments

Comments
 (0)