back out index cache usage in badger blockstore.

This commit is contained in:
Raúl Kripalani
2020-12-02 21:35:13 +00:00
parent e8a5e0d2fe
commit 2ef8acdfc8
2 changed files with 4 additions and 21 deletions
+3 -1
View File
@@ -18,7 +18,9 @@ var (
const EnvMaximumHeap = "LOTUS_MAX_HEAP"
// ResourceConstraints represents resource constraints that Lotus and the go
// runtime should abide by.
// runtime should abide by. It is a singleton object that's populated on
// initialization, and can be used by components for size calculations
// (e.g. caches).
var ResourceConstraints struct {
// MaxHeapMem is the maximum heap memory that has been set by the user
// through the LOTUS_MAX_HEAP env variable. If zero, there is no max heap