fixed potential DB deadlock cause

This commit is contained in:
anhefti 2021-11-09 08:53:45 +01:00
parent f1dc16b5ef
commit 4a3d5ed54d

View file

@ -180,7 +180,7 @@ public class DistributedPingCache implements DisposableBean {
} }
} }
@Transactional @Transactional(readOnly = true)
public void updateCache() { public void updateCache() {
if (this.pingCache.isEmpty()) { if (this.pingCache.isEmpty()) {