for testing only
(stats *livekit.NodeStats)
| 131 | |
| 132 | // for testing only |
| 133 | func (l *LocalNodeImpl) SetStats(stats *livekit.NodeStats) { |
| 134 | l.lock.Lock() |
| 135 | defer l.lock.Unlock() |
| 136 | |
| 137 | l.node.Stats = utils.CloneProto(stats) |
| 138 | } |
| 139 | |
| 140 | func (l *LocalNodeImpl) UpdateNodeStats() bool { |
| 141 | l.lock.Lock() |
nothing calls this directly
no outgoing calls
no test coverage detected