Commit f15e36f1 authored by Steve's avatar Steve
Browse files

introduce save diagnosis keys timeout

parent b92cd245
......@@ -57,7 +57,7 @@ public class DiagnosisKeyService {
* @throws IllegalArgumentException in case the given collection contains {@literal null}.
*/
@Timed
@Transactional
@Transactional(timeout = 10)
public void saveDiagnosisKeys(Collection<DiagnosisKey> diagnosisKeys) {
for (DiagnosisKey diagnosisKey : diagnosisKeys) {
keyRepository.saveDoNothingOnConflict(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment