release: Multi-Hoster-Upload v2.0.3
This commit is contained in:
1 parent
6cdccf71f2
commit
1c4d096cb9
31 files changed
+2304
-131
No files matched your search
@@ -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