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

Switch IP2Country lookup backend to shortened version #5886

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

Thomas2500
Copy link
Contributor

Hello!

Since the mailcow project only uses the short country function to display the country flag of the source IP, the new backend https://dfdata.bella.network/country/<IP/Domain> can be used. The lookup has been significantly accelerated and has now dropped from 700ms to 100ms on average.
Repeated requests are cached so that the search time is now only a few milliseconds.

This should improve the lookup speed mentioned in #5880.

Best regards,
Thomas

@milkmaker
Copy link
Collaborator

Thanks for contributing!

I noticed that you didn't select staging as your base branch. Please change the base branch to staging.
See the attached picture on how to change the base branch to staging:

check_prs_if_on_staging.png

@Thomas2500 Thomas2500 changed the base branch from master to staging May 28, 2024 18:43
Copy link
Member

@DerLinkman DerLinkman left a comment

Choose a reason for hiding this comment

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

Looks good to me!

Copy link
Member

@DerLinkman DerLinkman left a comment

Choose a reason for hiding this comment

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

Thank you!

@DerLinkman DerLinkman merged commit 34b0574 into mailcow:staging Jun 5, 2024
3 of 4 checks passed
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.

None yet

4 participants