   {:db-file "/tmp/GeoLite2-City.mmdb"})
 
 
-(def provider nil)
+(def ^:dynamic *provider* nil)
 
 
 (defn init-provider [file]


  (init-provider! (:db-file cfg))

  (geo/geo-lookup provider "8.8.8.8"))



(defn init-provider! [file]
  (alter-var-root #'*provider* (constantly (init-provider file))))


(defenrich ip-geo-locate [{:keys [clientIp] :as event}]
