WIP: storage-fix-local-nas work before playlist controls feature
Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
1 parent
6b3ab5b65e
commit
c160242dbc
46 files changed
+5365
-815
No files matched your search
@@ -17,6 +17,14 @@ class Kernel extends ConsoleKernel
|
||||
->cron("*/{$interval} * * * *")
|
||||
->withoutOverlapping()
|
||||
->runInBackground();
|
||||
|
||||
// Evict NAS stream-cache files older than 24 hours
|
||||
$schedule->call(function () {
|
||||
$nas = app(\App\Services\NasSyncService::class);
|
||||
if ($nas->isEnabled()) {
|
||||
$nas->clearNasCache(24);
|
||||
}
|
||||
})->daily()->name('nas-cache-evict')->withoutOverlapping();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user