trying to fix startup
This commit is contained in:
parent
00b21a57d7
commit
32d0eaac2d
7 changed files with 107 additions and 25 deletions
|
|
@ -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'
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue