chore:little fixes and formating and linting and patches

This commit is contained in:
2026-03-31 15:50:54 +02:00
parent a1ce71ffb6
commit 9b197abcfa
815 changed files with 22960 additions and 8982 deletions

View File

@@ -1,6 +1,5 @@
import type { CronQueueType } from '@openpanel/queue';
import { cronQueue } from '@openpanel/queue';
import { logger } from './utils/logger';
async function removeConflictingJobs(schedulerKey: string) {
@@ -137,7 +136,7 @@ export async function bootCron() {
type: job.type,
payload: undefined,
},
},
}
);
} catch (error) {
// If upsert fails due to conflicting job, try to clean up and retry
@@ -175,7 +174,7 @@ export async function bootCron() {
type: job.type,
payload: undefined,
},
},
}
);
logger.info('Job scheduler created after cleanup', {
job: job.type,