Skip to content

Commit

Permalink
fix: note display
Browse files Browse the repository at this point in the history
  • Loading branch information
GreyElaina committed Jun 26, 2023
1 parent 19dcb3a commit cf185f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/elaina-talk/event_lock.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class ProcessLocker(Dispatcher):

如此一来, `ProcessLocker` 就会保证当 `event``set` 时, 最多只有 `max_concurrent`*最小监听器元*被同时执行.

!!! note 关于 `max_concurrent` 与死锁问题
!!! note "关于 `max_concurrent` 与死锁问题"
注意, 当下由于 [GraiaProject/BroadcastControl#61](https://github.com/GraiaProject/BroadcastControl/issues/61),
如果你的应用过于复杂, 可能会因为 `max_concurrent` 过小而导致死锁, 这个案例很像 `sys.getrecursionlimit`,
你需要根据你的应用的复杂程度来调整这个参数.

0 comments on commit cf185f3

Please sign in to comment.