Skip to content

Commit 2e484bc

Browse files
authored
Update mode-explanation.planuml
1 parent b12860e commit 2e484bc

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

img/mode-explanation.planuml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ package "Threads only - Default Setting" {
1818
d_tasks -down-> d_t_pool
1919
d_core -up- d_t1
2020
d_core -up- d_t2
21-
note top of d_t_pool: max_workers is based on worker.number
21+
note top of d_t_pool: The pool's max_workers is based on worker.number\n or capped by the max_workers configuration
2222
}
2323

2424
package "Process only - use_processing" {
@@ -36,7 +36,7 @@ package "Process only - use_processing" {
3636
p_tasks -down-> p_p_pool
3737
p_core -up- p_p1
3838
p_core2 -up- p_p2
39-
note top of p_p_pool: max_workers is based on worker.number
39+
note top of p_p_pool: The pool's max_workers is based on worker.number\n or capped by the max_workers configuration
4040
}
4141

4242
package "Parallel - parallel_processing" {
@@ -65,8 +65,10 @@ package "Parallel - parallel_processing" {
6565
pp_p2 -up- pp_t_pool2
6666
pp_core -up- pp_p1
6767
pp_core2 -up- pp_p2
68-
note top of pp_t_pool2: max_workers is distributed evenly
69-
note left of pp_p_pool: max_workers is based on CPU cores
68+
note "Each thread pool’s max_workers is evenly divided\n from the worker.number or max_workers setting" as note_t_pool
69+
pp_t_pool .. note_t_pool
70+
pp_t_pool2 .. note_t_pool
71+
note left of pp_p_pool: The process pool's max_workers\n is based on CPU cores
7072
}
7173

7274
@enduml

0 commit comments

Comments
 (0)