refactor: remove rate limiter and use retry strategy

This commit is contained in:
Maël Gangloff
2025-10-28 13:08:16 +01:00
parent 4c1d0f731b
commit 6256ed8604
4 changed files with 18 additions and 29 deletions

View File

@@ -79,8 +79,7 @@ final readonly class ProcessWatchlistHandler
*/
/** @var Domain $domain */
foreach ($watchlist->getDomains()->filter(fn ($domain) => $this->RDAPService->isToBeUpdated($domain, false, null !== $watchlist->getConnector())) as $domain
) {
foreach ($watchlist->getDomains()->filter(fn ($domain) => $this->RDAPService->isToBeUpdated($domain, false, null !== $watchlist->getConnector())) as $domain) {
$this->bus->dispatch(new UpdateDomain($domain->getLdhName(), $watchlist->getToken()));
}
}