release: Multi-Hoster-Upload v2.0.3
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user