Преглед изворни кода

Correct badger file loading mode documentation.

max furman пре 6 година
родитељ
комит
c4f1eea5dc
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      docs/database.md

+ 2 - 2
docs/database.md

@@ -44,7 +44,7 @@ more info).  Below are a few examples for supported databases:
     "type": "badger",
     "type": "badger",
     "dataSource": "./.step/db",
     "dataSource": "./.step/db",
     "valueDir": "./.step/valuedb"
     "valueDir": "./.step/valuedb"
-    "badgerValueLogLoadingMode": "MemoryMap"
+    "badgerFileLoadingMode": "MemoryMap"
   },
   },
   ...
   ...
 },
 },
@@ -60,7 +60,7 @@ more info).  Below are a few examples for supported databases:
     will need to set it explicitly until it becomes the default.
     will need to set it explicitly until it becomes the default.
 * `dataSource` - path, database directory.
 * `dataSource` - path, database directory.
 * `valueDir` [optional] - path, value directory, only if different from `dataSource`.
 * `valueDir` [optional] - path, value directory, only if different from `dataSource`.
-* `badgerValueLogLoadingMode` [optional] - can be set to `FileIO` (instead of the default
+* `badgerFileLoadingMode` [optional] - can be set to `FileIO` (instead of the default
         `MemoryMap`) to avoid memory-mapping log files. This can be
         `MemoryMap`) to avoid memory-mapping log files. This can be
         useful in environments with low RAM. Make sure to use `badgerV2` as the
         useful in environments with low RAM. Make sure to use `badgerV2` as the
         database `type` if using this option.
         database `type` if using this option.