cleanup_geoip¶
-
privex.helpers.geoip.
cleanup_geoip
(geo_type: str = None)¶ With no arguments, closes and removes GeoIP city + asn + country from thread store.
With the first argument
geo_type
specified (either ‘city’, ‘asn’ or ‘country’), only that specific GeoIP2 instance will be closed and removed from the thread store.