Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f3d2edfd authored by Kousik Kumar's avatar Kousik Kumar Committed by Automerger Merge Worker
Browse files

Do not dump metrics if reproxy was never started am: 5990257d am: 1145dd81

parents de3a7707 1145dd81
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -216,7 +216,6 @@ func main() {
		}
		defer build.UploadMetrics(buildCtx, config, c.simpleOutput, buildStarted, files...)
		defer met.Dump(soongMetricsFile)
		defer build.DumpRBEMetrics(buildCtx, config, rbeMetricsFile)
	}

	// Read the time at the starting point.
+1 −0
Original line number Diff line number Diff line
@@ -245,6 +245,7 @@ func Build(ctx Context, config Config) {

	if config.StartRBE() {
		startRBE(ctx, config)
		defer DumpRBEMetrics(ctx, config, filepath.Join(config.LogsDir(), "rbe_metrics.pb"))
	}

	if what&RunProductConfig != 0 {