<?php

return [
    'scheduler_max_age_seconds' => max(60, (int) env('OPERATIONS_SCHEDULER_MAX_AGE_SECONDS', 180)),
    'failed_jobs_window_minutes' => max(1, (int) env('OPERATIONS_FAILED_JOBS_WINDOW_MINUTES', 60)),
    'failed_jobs_max' => max(0, (int) env('OPERATIONS_FAILED_JOBS_MAX', 0)),
    'disk_min_free_mb' => max(0, (int) env('OPERATIONS_DISK_MIN_FREE_MB', 1024)),
    'backup_max_age_hours' => max(1, (int) env('OPERATIONS_BACKUP_MAX_AGE_HOURS', 26)),
];
