Update src/Model/ContactRelation.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
d2a4a57810
commit
ab04227ce3
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ class ContactRelation
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} elseif ($contact['created'] > DateTimeFormat::utc('now - 1 day')) {
|
} elseif ($contact['created'] > DateTimeFormat::utc('now - 1 day')) {
|
||||||
Logger::info('Newly created contacs are not discovered to avoid DDoS attacks.', ['id' => $contact['id'], 'url' => $url, 'discovery' => $contact['created']]);
|
// Newly created contacts are not discovered to avoid DDoS attacks
|
||||||
|
Logger::info('No discovery - Contact record is less than a day old.', ['id' => $contact['id'], 'url' => $url, 'discovery' => $contact['created']]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue