You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a bunch of IP addresses. It is too expensive to get geographical information for them all one by one. Is there a way to read them in a batch?
client= ::MaxMindDB.new(Rails.root.join('geolite.mmdb'))client.lookup(*[192.158.1.38,192.158.1.39])# splat argsclient.lookup([192.158.1.38,192.158.1.39])# maybe use and array directly
The text was updated successfully, but these errors were encountered:
I have a bunch of IP addresses. It is too expensive to get geographical information for them all one by one. Is there a way to read them in a batch?
The text was updated successfully, but these errors were encountered: