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();
|
|
|
|
|
|
2026-09-19 00:12:30 +00:00
|
|
|
// Rebuild the session-grouped home summary (bands + per-suite rows).
|
|
|
|
|
Schedule::command('festbench:summary')->everyFiveMinutes();
|