Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DomainExpirationScanner: more logging, timeouts accounting for the fact that we wait for quota, minor message fixes, etc. #604

Merged
merged 14 commits into from
Nov 23, 2023

Conversation

kazet
Copy link
Member

@kazet kazet commented Nov 1, 2023

No description provided.

artemis/modules/domain_expiration_scanner.py Outdated Show resolved Hide resolved
artemis/modules/domain_expiration_scanner.py Outdated Show resolved Hide resolved
self.log.info("Successful whois query for %s expiry=%s", domain, domain_data.expiration_date)
except WhoisQuotaExceeded:
self.log.info("Quota exceeded for whois query for %s", domain)
time.sleep(24 * 60 * 60)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmmm, chcemy by worker spal caly dzien? Troche mi ten pomysl nie lezy, bardziej zarzadzilbym resched taska

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ale resched sprawi ze bedziemy napierdalac query() bo zaraz sie nowy task pojawi co sprobuje znow tego samego i moga nas 🔨

bulkowy
bulkowy previously approved these changes Nov 7, 2023
@kazet kazet merged commit d886a9b into main Nov 23, 2023
4 checks passed
@kazet kazet deleted the domain-expiration-scaner-hotfixes branch November 23, 2023 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants