refactor: split jobs.rs into per-context modules

This commit is contained in:
2026-06-11 14:44:23 +02:00
parent 4f0f44dec3
commit 8ac87a3735
18 changed files with 170 additions and 134 deletions

View File

@@ -178,7 +178,9 @@ async fn main() -> anyhow::Result<()> {
Arc::new(application::jobs::WatchEventCleanupJob::new(ctx.clone())),
Arc::new(application::jobs::WrapUpAutoGenerateJob::new(ctx.clone())),
Arc::new(application::jobs::WrapUpCleanupJob::new(ctx.clone())),
Arc::new(application::jobs::RefreshSessionCleanupJob::new(ctx.clone())),
Arc::new(application::jobs::RefreshSessionCleanupJob::new(
ctx.clone(),
)),
];
if let Some(job) = enrichment_job {
periodic_jobs.push(job);