trying to fix startup

This commit is contained in:
Boki 2025-06-10 14:48:46 -04:00
parent 00b21a57d7
commit 32d0eaac2d
7 changed files with 107 additions and 25 deletions

View file

@ -123,7 +123,7 @@ export const proxyProvider: ProviderConfig = {
}
}
},
scheduledJobs: [
scheduledJobs: [
{
type: 'proxy-maintenance',
operation: 'fetch-and-check',
@ -131,7 +131,7 @@ export const proxyProvider: ProviderConfig = {
// should remove and just run at the same time so app restarts dont keeping adding same jobs
cronPattern: getEvery24HourCron(),
priority: 5,
immediately: true,
immediately: true, // Don't run immediately during startup to avoid conflicts
description: 'Fetch and validate proxy list from sources'
}
]