festbench-web/routes/console.php

11 lines
385 B
PHP
Raw Normal View History

<?php
use Illuminate\Support\Facades\Schedule;
// 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();
// Rebuild the session-grouped home summary (bands + per-suite rows).
Schedule::command('festbench:summary')->everyFiveMinutes();