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

server filter by country #7

Open
WoozyMasta opened this issue Oct 11, 2022 · 2 comments
Open

server filter by country #7

WoozyMasta opened this issue Oct 11, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@WoozyMasta
Copy link
Owner

it is required to prepare the database of servers after downloading, fill all the servers with the finished result from the geoip database

~8k geoip calls take <1min
the cycle with writing values to the database slows down the process by x5-10 times, you need a quick solution

@WoozyMasta WoozyMasta added enhancement New feature or request question Further information is requested labels Oct 11, 2022
@WoozyMasta WoozyMasta self-assigned this Oct 11, 2022
@airtonix
Copy link
Contributor

airtonix commented Apr 2, 2023

are we talking about adding some post processing of the response in here:
https://github.com/WoozyMasta/dayz-ctl/blob/master/dayz-ctl#L301-L312 ?

@WoozyMasta
Copy link
Owner Author

Yes that's right
Need to create either a separate file or update an existing one, but keep in mind that when updating an existing one, this should ideally be done in one call. Otherwise, it will be a very lengthy cycle of sequential file updates.

At the same time, the accuracy of the geoip database is not very high.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants