Compare commits
No commits in common. "c7343175ca7909ba9805b0099c590d277dca6d85" and "f4073a7ada9e7a249dc8339410e0614c844a8049" have entirely different histories.
c7343175ca
...
f4073a7ada
@ -243,18 +243,6 @@ class UploadManager extends EventEmitter {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// If this account already failed in this batch, switch to fallback immediately
|
|
||||||
// instead of wasting retries on a known-bad account
|
|
||||||
if (task.accountId && this._failedAccounts.has(task.hoster + ':' + task.accountId)) {
|
|
||||||
const override = this._accountOverrides.get(task.hoster);
|
|
||||||
if (override && !this._failedAccounts.has(task.hoster + ':' + override.id)) {
|
|
||||||
task.accountId = override.id;
|
|
||||||
task.username = override.username;
|
|
||||||
task.password = override.password;
|
|
||||||
task.apiKey = override.apiKey;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
this._emitProgress(uploadId, fileName, task.hoster, {
|
this._emitProgress(uploadId, fileName, task.hoster, {
|
||||||
jobId,
|
jobId,
|
||||||
status: 'queued',
|
status: 'queued',
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "multi-hoster-uploader",
|
"name": "multi-hoster-uploader",
|
||||||
"version": "2.5.4",
|
"version": "2.5.3",
|
||||||
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user