mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
- Add FindAllBy type and implement DatabaseService.findAllBy with batchSize/limit/skip support. - Add normalizePositiveNumber helper used by findAllBy. - Add ProjectService.getAllActiveProjects convenience wrapper that uses findAllBy. - Replace many worker cron jobs' findBy calls with findAllBy, introduce per-job batch size constants, remove LIMIT_MAX imports, and pass batchSize/skip instead of one large limit. - Convert long-running deletes/hard-deletes to paginated loops (repeat until no more records deleted). - Adjust various query usages to use LIMIT_PER_PROJECT where appropriate as batchSize.