Skip to content

Commit 20b5193

Browse files
authored
Merge pull request Snailclimb#1928 from Coder994/patch-1
Update optimistic-lock-and-pessimistic-lock.md
2 parents 954a371 + cd1e5b4 commit 20b5193

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/java/concurrent/optimistic-lock-and-pessimistic-lock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ tag:
1717

1818
像 Java 中`synchronized``ReentrantLock`等独占锁就是悲观锁思想的实现。
1919

20-
**悲观锁通常多用于写多比较多的情况下(多写场景),避免频繁失败和重试影响性能。**
20+
**悲观锁通常多用于写比较多的情况下(多写场景),避免频繁失败和重试影响性能。**
2121

2222
## 什么是乐观锁?使用场景是什么?
2323

0 commit comments

Comments
 (0)