fixed potential DB deadlock cause
This commit is contained in:
parent
d763da6a79
commit
2447009f99
1 changed files with 1 additions and 1 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue