MCPcopy Create free account
hub / github.com/angular/dev-infra / removeUpstream

Method removeUpstream

github-actions/browserstack/set-browserstack-env.js:8741–8748  ·  view source on GitHub ↗
(upstream)

Source from the content-addressed store, hash-verified

8739 if (err && err.code === "UND_ERR_SOCKET") {
8740 pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty]);
8741 this._updateBalancedPoolStats();
8742 }
8743 });
8744 for (const client of this[kClients]) {
8745 client[kWeight] = this[kMaxWeightPerServer];
8746 }
8747 this._updateBalancedPoolStats();
8748 return this;
8749 }
8750 _updateBalancedPoolStats() {
8751 let result = 0;

Callers

nothing calls this directly

Calls 1

parseOriginFunction · 0.70

Tested by

no test coverage detected