mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2026-03-20 23:07:29 +01:00
fix: Shard WAL consumer for higher throughput
Entire-Checkpoint: e583b7b11439
This commit is contained in:
@@ -277,7 +277,9 @@ func Shutdown() {
|
||||
}
|
||||
|
||||
if Keys.Checkpoints.FileFormat == "wal" {
|
||||
close(WALMessages)
|
||||
for _, ch := range walShardChs {
|
||||
close(ch)
|
||||
}
|
||||
}
|
||||
|
||||
cclog.Infof("[METRICSTORE]> Writing to '%s'...\n", Keys.Checkpoints.RootDir)
|
||||
|
||||
Reference in New Issue
Block a user