mirror of
https://github.com/abh/geodns.git
synced 2026-04-27 03:45:53 +03:00
[GH-ISSUE #116] Will the geoip database be automatically reloaded every day? #226
Labels
No labels
bug
bug
enhancement
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/geodns#226
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @myallpic on GitHub (Apr 13, 2019).
Original GitHub issue: https://github.com/abh/geodns/issues/116
I want to know if I need to manually restart geodns every day to load the new geoip database?
@abh commented on GitHub (Apr 13, 2019):
Only on restart if I remember right.
Patches for this are welcome.
Ideally have a go routine check every few minutes if the file changed and then reload the files.
I think some of the data structures will need a mutex added (and a benchmark to make sure it doesn’t t significantly change the performance).