pub async fn compactor_serve(
listen_addr: SocketAddr,
advertise_addr: HostAddr,
opts: CompactorOpts,
shutdown: CancellationToken,
)
Expand description
Fetches and runs compaction tasks.
Returns when the shutdown
token is triggered.