Open JustinAzoff opened 6 years ago
ah, one trickyness with this is there is support for more than one store, but I could add a somewhat generic store option type? some sort of cache size would be common to many of them.
From testing, it seems the problem for memory usage is mostly the WriteBuffer, so I may just release a new version that drops that back to the default.
https://github.com/JustinAzoff/flow-indexer/blob/52b1dced9fc447ce646517e99ff11731de994a65/store/leveldb.go#L29-L36