mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
fix: add a delay of an hour
This commit is contained in:
@@ -65,7 +65,12 @@ final readonly class UpdateDomainsFromWatchlistHandler
|
||||
->filter(fn ($domain) => $domain->getUpdatedAt()
|
||||
->diff(
|
||||
new \DateTimeImmutable('now'))->days >= 7
|
||||
|| $this->RDAPService::isToBeWatchClosely($domain)
|
||||
|| (
|
||||
$this->RDAPService::isToBeWatchClosely($domain)
|
||||
&& $domain->getUpdatedAt()
|
||||
->diff(
|
||||
new \DateTimeImmutable('now'))->h >= 1
|
||||
)
|
||||
) as $domain
|
||||
) {
|
||||
$updatedAt = $domain->getUpdatedAt();
|
||||
|
||||
Reference in New Issue
Block a user