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

Method removeUpstream

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

Source from the content-addressed store, hash-verified

8739 this._updateBalancedPoolStats();
8740 }
8741 });
8742 for (const client of this[kClients]) {
8743 client[kWeight] = this[kMaxWeightPerServer];
8744 }
8745 this._updateBalancedPoolStats();
8746 return this;
8747 }
8748 _updateBalancedPoolStats() {
8749 let result = 0;
8750 for (let i = 0; i < this[kClients].length; i++) {
8751 result = getGreatestCommonDivisor(this[kClients][i][kWeight], result);

Callers

nothing calls this directly

Calls 1

parseOriginFunction · 0.70

Tested by

no test coverage detected