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

Use cache in get_ip_address_info to speed up processing. #494

Merged
merged 1 commit into from
Mar 24, 2024

Conversation

rodpayne
Copy link
Contributor

The cache in get_ip_address_info is not doing anything because if cache is not true for the empty cache. I changed the test to if cache is not None and added the record to the cache at the end of the lookup.

@seanthegeek seanthegeek merged commit 1e565d9 into domainaware:master Mar 24, 2024
1 check passed
seanthegeek added a commit that referenced this pull request Mar 25, 2024
- Fix broken cache (PR #494)
- Add source name and type information based on static mapping of the reverse DNS base domain
  - See [this documentation](https://github.com/domainaware/parsedmarc/tree/master/parsedmarc/resources/maps) for more information, and to learn how to help!
- Replace `multiprocessing.Pool` with `Pipe` + `Process` (PR #491 closes issue #489)
- Remove unused parallel arguments (PR #492 closes issue #490)
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