Skip to content

Commit 7811ab0

Browse files
committed
fix comment
1 parent 1d893d5 commit 7811ab0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java-spanner/google-cloud-spanner/src/main/java/com/google/cloud/spanner/spi/v1/EwmaLatencyTracker.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public void recordError(Duration penalty) {
127127
private double calculateTimeBasedAlpha(long nowNanos) {
128128
long deltaNanos = nowNanos - lastUpdatedAtNanos;
129129
if (deltaNanos <= 0L) {
130-
// concurrent or future samples get full weight.
130+
// Concurrent or future samples get full weight
131131
return 1.0;
132132
}
133133
double alpha = 1.0 - Math.exp(-(double) deltaNanos / (double) tauNanos);

0 commit comments

Comments
 (0)