Compare commits
2 Commits
660d0b76a1
...
b4c786cf04
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b4c786cf04 | ||
|
|
92b4a35425 |
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "multi-hoster-uploader",
|
||||
"version": "1.8.3",
|
||||
"version": "1.8.4",
|
||||
"description": "Upload files to doodstream, voe, vidmoly, byse simultaneously",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
||||
@ -1001,9 +1001,10 @@ async function startUpload() {
|
||||
const jobsToStart = queueJobs.filter((job) => job.status === 'preview' || job.status === 'queued');
|
||||
if (jobsToStart.length === 0) return;
|
||||
|
||||
// Auto health check
|
||||
// Auto health check — only check hosters that have jobs to start
|
||||
if (autoHealthCheckEnabled) {
|
||||
const checkHosters = hosters.filter(name => name === 'doodstream.com' || name === 'vidmoly.me' || name === 'voe.sx' || name === 'byse.sx');
|
||||
const jobHosters = new Set(jobsToStart.map(j => j.hoster));
|
||||
const checkHosters = [...jobHosters].filter(name => name === 'doodstream.com' || name === 'vidmoly.me' || name === 'voe.sx' || name === 'byse.sx');
|
||||
if (checkHosters.length > 0) {
|
||||
healthCheckRunning = true;
|
||||
try {
|
||||
@ -1059,9 +1060,10 @@ async function startSelectedUpload() {
|
||||
const jobsToStart = queueJobs.filter((job) => selectedJobIds.has(job.id) && (job.status === 'preview' || job.status === 'queued'));
|
||||
if (jobsToStart.length === 0) return;
|
||||
|
||||
// Auto health check
|
||||
// Auto health check — only check hosters that have jobs to start
|
||||
if (autoHealthCheckEnabled) {
|
||||
const checkHosters = hosters.filter(name => name === 'doodstream.com' || name === 'vidmoly.me' || name === 'voe.sx' || name === 'byse.sx');
|
||||
const jobHosters = new Set(jobsToStart.map(j => j.hoster));
|
||||
const checkHosters = [...jobHosters].filter(name => name === 'doodstream.com' || name === 'vidmoly.me' || name === 'voe.sx' || name === 'byse.sx');
|
||||
if (checkHosters.length > 0) {
|
||||
healthCheckRunning = true;
|
||||
try {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user