MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / endAccountMaintenance

Function endAccountMaintenance

src/auth.js:79–84  ·  view source on GitHub ↗
(token)

Source from the content-addressed store, hash-verified

77}
78
79function endAccountMaintenance(token) {
80 const account = token?.account;
81 if (!account) return;
82 account._maintenance = Math.max(0, accountMaintenance(account) - 1);
83 if (account._maintenance === 0) account._maintenanceAt = 0;
84}
85
86// Per-tier requests-per-minute limits. Used for both filter-by-cap and
87// weighted selection (accounts with more headroom are preferred).

Callers 1

_probeAccountImplFunction · 0.85

Calls 1

accountMaintenanceFunction · 0.85

Tested by

no test coverage detected