feat: schedule DNS ticket retry every minute via ConsoleBooting

RetryDnsTickets command now scheduled everyMinute with
withoutOverlapping. Runs via supervisor scheduler in the container.
Queued DNS changes retry automatically without manual intervention.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude 2026-04-04 11:43:54 +01:00
parent b4e4766e01
commit 9a36b836a7
No known key found for this signature in database
GPG key ID: AF404715446AEB41

View file

@ -6,6 +6,7 @@ namespace Mod\Names;
use Core\Events\ConsoleBooting;
use Core\Events\WebRoutesRegistering;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Support\Facades\Route;
use Mod\Names\Commands\RetryDnsTickets;
@ -25,5 +26,13 @@ class Boot
public function onConsole(ConsoleBooting $event): void
{
$event->command(RetryDnsTickets::class);
// Schedule DNS ticket retry every minute
app()->booted(function () {
app(Schedule::class)->command('names:retry-dns')
->everyMinute()
->withoutOverlapping()
->runInBackground();
});
}
}