Browse Source

Update src/Model/ContactRelation.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
pull/8927/head
Michael Vogel 1 year ago
committed by GitHub
parent
commit
ab04227ce3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/Model/ContactRelation.php

+ 2
- 1
src/Model/ContactRelation.php View File

@ -95,7 +95,8 @@ class ContactRelation
}
}
} 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;
}


Loading…
Cancel
Save