Просмотр исходного кода

Recommend badgerV2 in badger extra options documentation.

max furman 6 лет назад
Родитель
Сommit
d9a1fb7e5d
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      docs/database.md

+ 2 - 1
docs/database.md

@@ -62,7 +62,8 @@ more info).  Below are a few examples for supported databases:
 * `valueDir` [optional] - path, value directory, only if different from `dataSource`.
 * `badgerValueLogLoadingMode` [optional] - can be set to `FileIO` (instead of the default
         `MemoryMap`) to avoid memory-mapping log files. This can be
-        useful in environments with low RAM.
+        useful in environments with low RAM. Make sure to use `badgerV2` as the
+        database `type` if using this option.
     * `MemoryMap` - default.
     * `FileIO` - This can be useful in environments with low RAM.