@@ -824,6 +824,7 @@ func upload_one_part(app AppCtx, streamInfo *StreamMetadata, streamName string,
if err != nil {
return fmt.Errorf("failed to connect to stck: %w", err)
}
+ defer c.Close()
/*
┌─name────────┬─type────────────────────┬─default_type─┬─default_expression─┬─comment───────────────────┬─codec_expression─┬─ttl_expression─┐
│ metric_name │ LowCardinality(String) │ │ │ Metric name │ │ │