feat: add internal rate limit for rdap queries

This commit is contained in:
Maël Gangloff
2025-10-28 12:09:38 +01:00
parent 12c1a9bb97
commit 98d92ce8f8
17 changed files with 203 additions and 92 deletions

View File

@@ -2,7 +2,7 @@
namespace App\Message;
final class SendDomainEventNotif
final class DetectDomainChange
{
public function __construct(
public string $watchlistToken,

View File

@@ -2,7 +2,7 @@
namespace App\Message;
final class ProcessWatchlistTrigger
final class ProcessAllWatchlist
{
/*
* Add whatever properties and methods you need

View File

@@ -2,7 +2,7 @@
namespace App\Message;
final readonly class UpdateDomainsFromWatchlist
final readonly class ProcessWatchlist
{
public function __construct(
public string $watchlistToken,

View File

@@ -0,0 +1,15 @@
<?php
namespace App\Message;
use Symfony\Component\Messenger\Attribute\AsMessage;
#[AsMessage('rdap_async')]
final class UpdateDomain
{
public function __construct(
public string $ldhName,
public string $watchlistToken,
) {
}
}