Commit cf3f337
Matt Corallo
Reduce the tokio runtime worker thread count
There's really no reason why we need a lot of tokio threads - we
don't really do anything CPU-intensive and we expect Orange SDK
users to be "edge-nodes" that don't have a lot of channels.
Thus, spinning up a thread per CPU core wastes a good bit of memory
allocating stacks for threads we'll never use. Instead, just fix
the worker thread count to two.1 parent 7128171 commit cf3f337
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| |||
0 commit comments