release: Multi-Hoster-Upload v2.0.3

This commit is contained in:
Sucukdeluxe committed 2026-08-09 14:54:44 +02:00
1 parent 6cdccf71f2
commit 1c4d096cb9
31 files changed
+2304 -131

No files matched your search

+10
View File
@@ -56,6 +56,16 @@ class UploadManager extends EventEmitter {
}
}
replaceAccountPools(accountPools) {
this.accountPools = accountPools && typeof accountPools === 'object' ? accountPools : {};
this._failedAccounts.clear();
this._accountOverrides.clear();
this._suspectSizeMemo.clear();
this._suspectGoodAccounts.clear();
this._doodApiKeyCache.clear();
this._baselineCache.clear();
}
switchAccount(hoster, fallbackAccount) {
const prev = this._accountOverrides.get(hoster);
this._accountOverrides.set(hoster, fallbackAccount);