PerSessionThreads returns the thread count for each session. Threads are not subdivided — every session gets the full budget.
()
| 195 | // PerSessionThreads returns the thread count for each session. |
| 196 | // Threads are not subdivided — every session gets the full budget. |
| 197 | func (r *MemoryRebalancer) PerSessionThreads() int { |
| 198 | return r.threadBudget |
| 199 | } |
| 200 | |
| 201 | // memoryLimit returns the memory limit for a session: the full budget, |
| 202 | // with a floor of minMemoryPerSession (256MB). |
no outgoing calls