From 7584089bc829e15b5925f1d83faf3078ff2ca779 Mon Sep 17 00:00:00 2001 From: Joe Elliott Date: Thu, 4 Feb 2021 15:42:10 -0500 Subject: [PATCH] Changed default encoding Signed-off-by: Joe Elliott --- modules/storage/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/storage/config.go b/modules/storage/config.go index b26d88b8f12..a2e19decbee 100644 --- a/modules/storage/config.go +++ b/modules/storage/config.go @@ -37,7 +37,7 @@ func (cfg *Config) RegisterFlagsAndApplyDefaults(prefix string, f *flag.FlagSet) cfg.Trace.Block = &encoding.BlockConfig{} f.Float64Var(&cfg.Trace.Block.BloomFP, util.PrefixConfig(prefix, "trace.block.bloom-filter-false-positive"), .05, "Bloom False Positive.") f.IntVar(&cfg.Trace.Block.IndexDownsample, util.PrefixConfig(prefix, "trace.block.index-downsample"), 100, "Number of traces per index record.") - cfg.Trace.Block.Encoding = backend.EncSnappy + cfg.Trace.Block.Encoding = backend.EncLZ4_256k cfg.Trace.Azure = &azure.Config{} f.StringVar(&cfg.Trace.Azure.StorageAccountName.Value, util.PrefixConfig(prefix, "trace.azure.storage-account-name"), "", "Azure storage account name.")