Skip to content

Commit d65c3e5

Browse files
authored
Prepare for 2.6.1 release (#396)
1 parent e1b86f6 commit d65c3e5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ googleJavaFormat {
3737
}
3838

3939
group = 'com.uber.cadence'
40-
version = '2.6.0'
40+
version = '2.6.1'
4141

4242
description = """Uber Cadence Java Client"""
4343

src/main/java/com/uber/cadence/internal/worker/ActivityPollTask.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ public ActivityWorker.MeasurableActivityTask poll() throws TException {
9595
options
9696
.getMetricsScope()
9797
.timer(MetricsType.ACTIVITY_SCHEDULED_TO_START_LATENCY)
98-
.record(Duration.ofNanos(result.getStartedTimestamp() - result.getScheduledTimestampOfThisAttempt()));
98+
.record(
99+
Duration.ofNanos(
100+
result.getStartedTimestamp() - result.getScheduledTimestampOfThisAttempt()));
99101
sw.stop();
100102
return new ActivityWorker.MeasurableActivityTask(result, e2eSW);
101103
}

0 commit comments

Comments
 (0)