Skip to content

Commit

Permalink
Repeat the change we did in bazelbuild@2bba03b.
Browse files Browse the repository at this point in the history
It was accidentally overridden in bazelbuild@3f8bab9.

PiperOrigin-RevId: 549600680
Change-Id: Ibac001901332c99aacc60eb1c01fd2231eb787f2
  • Loading branch information
meisterT authored and copybara-github committed Jul 20, 2023
1 parent 03b2462 commit 99c2335
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class SpawnMetrics {
this.setupTimeInMs = builder.setupTimeInMs;
this.uploadTimeInMs = builder.uploadTimeInMs;
this.executionWallTimeInMs = builder.executionWallTimeInMs;
this.retryTimeInMs = builder.retryTimeInMs;
this.retryTimeInMs = ImmutableMap.copyOf(builder.retryTimeInMs);
this.processOutputsTimeInMs = builder.processOutputsTimeInMs;
this.inputBytes = builder.inputBytes;
this.inputFiles = builder.inputFiles;
Expand Down Expand Up @@ -79,7 +79,7 @@ public String toString() {
int processOutputsTimeInMs;
int networkTimeInMs;
// error code to duration in ms
Map<Integer, Integer> retryTimeInMs;
ImmutableMap<Integer, Integer> retryTimeInMs;
long inputBytes;
long inputFiles;
long memoryEstimateBytes;
Expand Down

0 comments on commit 99c2335

Please sign in to comment.