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

Function maintenanceBusyReason

src/auth.js:57–62  ·  view source on GitHub ↗
(account)

Source from the content-addressed store, hash-verified

55}
56
57function maintenanceBusyReason(account) {
58 if (accountInflight(account) > 0) return 'account_inflight';
59 if (accountMaintenance(account) > 0) return 'account_maintenance';
60 if (accountLsMaintenance(account) > 0) return 'ls_maintenance';
61 return '';
62}
63
64function shouldSkipBusyBackgroundMaintenance() {
65 return process.env.WINDSURFAPI_BACKGROUND_MAINTENANCE_SKIP_BUSY !== '0';

Callers 2

refreshAllCreditsFunction · 0.85
refreshAllFirebaseTokensFunction · 0.85

Calls 3

accountInflightFunction · 0.85
accountMaintenanceFunction · 0.85
accountLsMaintenanceFunction · 0.85

Tested by

no test coverage detected