MCPcopy Index your code
hub / github.com/wavetermdev/waveterm / reconcileAllConns

Function reconcileAllConns

pkg/jobcontroller/jobcontroller.go:250–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

248}
249
250func reconcileAllConns() {
251 connStates.Lock()
252 defer connStates.Unlock()
253
254 for connName, cs := range connStates.m {
255 if cs.reconciling || cs.actual == cs.processed {
256 continue
257 }
258
259 cs.reconciling = true
260 actual := cs.actual
261 go reconcileConn(connName, actual)
262 }
263}
264
265func reconcileConn(connName string, targetState bool) {
266 defer func() {

Callers 1

connReconcileWorkerFunction · 0.85

Calls 1

reconcileConnFunction · 0.85

Tested by

no test coverage detected