Deploy Ladill Meet / deploy (push) Failing after 7s
Phases 0–18: core meetings, webinar, breakouts, team chat, live streaming, town hall, billing, and Ladill Mail calendar wiring. Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
601 B
PHP
28 lines
601 B
PHP
<?php
|
|
|
|
namespace App\Jobs;
|
|
|
|
use App\Models\Recording;
|
|
use App\Services\Meet\RecordingService;
|
|
use Illuminate\Contracts\Queue\ShouldQueue;
|
|
use Illuminate\Foundation\Queue\Queueable;
|
|
|
|
class ProcessRecording implements ShouldQueue
|
|
{
|
|
use Queueable;
|
|
|
|
public function __construct(
|
|
public int $recordingId,
|
|
) {}
|
|
|
|
public function handle(RecordingService $recordings): void
|
|
{
|
|
$recording = Recording::find($this->recordingId);
|
|
if (! $recording || $recording->status !== 'processing') {
|
|
return;
|
|
}
|
|
|
|
$recordings->process($recording);
|
|
}
|
|
}
|