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
In production environments, it can be hard to determine which mode (MODE_FILE, MODE_MMAP, MODE_MMAP_EXT, etc.) the reader is using with MODE_AUTO without experimenting (setting the mode explicitly), seeing which modes work, and then assuming MODE_AUTO is selected the mode you want (MODE_MMAP_EXT). Experimenting in production can cause problems.
It would be very helpful if the maxminddb.reader.Metadata object exposed the mode (string value) and whether that mode was auto or explicit (boolean). That way, a simple glance at the metadata could confirm that you've installed and configured everything correctly.
The text was updated successfully, but these errors were encountered:
beamerblvd
pushed a commit
to beamerblvd/MaxMind-DB-Reader-python
that referenced
this issue
Apr 7, 2015
In production environments, it can be hard to determine which mode (
MODE_FILE
,MODE_MMAP
,MODE_MMAP_EXT
, etc.) the reader is using withMODE_AUTO
without experimenting (setting the mode explicitly), seeing which modes work, and then assumingMODE_AUTO
is selected the mode you want (MODE_MMAP_EXT
). Experimenting in production can cause problems.It would be very helpful if the
maxminddb.reader.Metadata
object exposed the mode (string value) and whether that mode was auto or explicit (boolean). That way, a simple glance at the metadata could confirm that you've installed and configured everything correctly.The text was updated successfully, but these errors were encountered: