2026-09-17 02:28:11 +00:00
|
|
|
<?php
|
|
|
|
|
|
2026-09-18 19:01:41 +00:00
|
|
|
use Illuminate\Support\Facades\Schedule;
|
2026-09-17 02:28:11 +00:00
|
|
|
|
2026-09-18 19:01:41 +00:00
|
|
|
// Snapshot the flat default home view every 5 minutes — at high traffic the
|
|
|
|
|
// request path never runs the UNION. Cheap on this data volume.
|
|
|
|
|
Schedule::command('festbench:snapshot')->everyFiveMinutes();
|
|
|
|
|
|
|
|
|
|
// Ensure next month's Postgres partitions exist before inserts need them.
|
|
|
|
|
// (Created by the migration for +/-1 year; this keeps future months coming.)
|
|
|
|
|
// Placeholder command added when partition maintenance is wired up.
|