Skip to content

Commit e89e385

Browse files
committed
Fix performer compilation on transactionsThreshold
This was only added in 3.4.0, it needs to be behind a tag. Change-Id: I6d0258c3b6de055ac5414f5119615334176288d4 Reviewed-on: https://review.couchbase.org/c/couchbase-jvm-clients/+/180949 Reviewed-by: Graham Pople <[email protected]> Tested-by: Build Bot <[email protected]>
1 parent ed6077b commit e89e385

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java-fit-performer/src/main/java/com/couchbase/utils/OptionsUtil.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,11 @@ private static void applyObservabilityConfig(ClusterEnvironment.Builder clusterE
355355
if (tlc.hasAnalyticsThresholdMillis()) {
356356
builder.analyticsThreshold(Duration.ofMillis(tlc.getAnalyticsThresholdMillis()));
357357
}
358+
// [start:3.4.0]
358359
if (tlc.hasTransactionsThresholdMillis()) {
359360
builder.transactionsThreshold(Duration.ofMillis(tlc.getTransactionsThresholdMillis()));
360361
}
362+
// [end:3.4.0]
361363
if (tlc.hasSampleSize()) {
362364
builder.sampleSize(tlc.getSampleSize());
363365
}

0 commit comments

Comments
 (0)