4ac2cf3eb0
This takes advantage of go-ds-badger "auto-gc" feature. It will run a GC cycle made of multiple GC rounds (until it cannot GC more) automatically. The behaviour is enabled by default in the configuration and can be disabled by setting "gc_interval" to "0m". Hopefully this prevents badger datastores from growing crazy. |
||
---|---|---|
.. | ||
badger | ||
inmem | ||
leveldb |