Commit 3c7a2cf
committed
bug engine: don't hang on 4000+ tasks with stack usage monitor
A bug was found where creating 4000+ tasks at the same time with stack usage monitor enabled would hang the process in release builds.
As a bandaid, only enable stack usage monitor for no more than 1000 tasks. This means that some stack overflows in high-load services may have poor diagnostics.
commit_hash:f2fbcea2813caffe437adacd9edd6b7271dc64d81 parent a1f7525 commit 3c7a2cf
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
43 | 47 | | |
44 | 48 | | |
45 | 49 | | |
| |||
0 commit comments