#741 Move JanitorService from per-worker to system cron job

closed high Created 2025-12-30 01:25 · Updated 2025-12-30 01:41

Description

Edit
JanitorService is currently started in worker.py for highway_default queue workers. This means N workers = N JanitorService instances, each running partition maintenance every 24 hours. While idempotent, this is wasteful and follows the same anti-pattern as the cron job spawning bug. Fix: Create a system cron job for partition maintenance during bootstrap, remove JanitorService from worker.py.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...