Commit fb6b18d
committed
feat: support custom Tokio worker thread names
Auto-discover worker threads when the default tokio-runtime-w prefix
finds nothing by scanning /proc for the largest thread group matching
{name}-{N} patterns. Add --workers flag as explicit override. On
failure, log all thread names with a suggested prefix.
Add THREAD_NAME env var to demo-server for testing custom names.1 parent 6f9c422 commit fb6b18d
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments