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. |
||
---|---|---|
.. | ||
config_test.go | ||
config.go | ||
identity_test.go | ||
identity.go | ||
util.go |