Enable auto compact for cubdb

This reduces the number of redundant db files created by cubdb.
This commit is contained in:
Ben Busby 2022-12-09 11:30:25 -07:00
parent 1c83d822d6
commit d9f0291853
No known key found for this signature in database
GPG Key ID: B9B7231E01D924A1

View File

@ -18,7 +18,7 @@ defmodule Farside.Application do
]
),
{PlugAttack.Storage.Ets, name: Farside.Throttle.Storage, clean_period: 60_000},
{CubDB, [data_dir: data_dir, name: CubDB]},
{CubDB, [data_dir: data_dir, name: CubDB, auto_compact: true]},
Farside.Scheduler,
Farside.Server
]