Add code samples to Queue config screen

This commit is contained in:
Kijin Sung 2024-10-10 23:04:35 +09:00
parent d4cd5e3d75
commit 097cecece8
6 changed files with 124 additions and 2 deletions

View file

@ -30,5 +30,5 @@ else
}
// The rest of the work will be done by the Queue class.
$timeout = config('queue.interval') ?? 60;
$timeout = (config('queue.interval') ?? 1) * 60;
Rhymix\Framework\Queue::process($timeout);