Skip to content

Commit fb4a293

Browse files
committed
Comment is more confusing.
1 parent 8ee377b commit fb4a293

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

nodestream/metrics.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ def increment(self, metric: Metric, value: Number):
214214
self.metrics[metric] = self.metrics.get(metric, 0) + value
215215

216216
def decrement(self, metric: Metric, value: Number):
217-
# Decrementing metrics that are accumulated doesn't help.
218217
if not metric.accumulate:
219218
self.metrics[metric] = self.metrics.get(metric, 0) - value
220219

@@ -250,7 +249,6 @@ def increment(self, metric: Metric, value: Number):
250249
self.metrics[metric] = self.metrics.get(metric, 0) + value
251250

252251
def decrement(self, metric: Metric, value: Number):
253-
# Decrementing metrics that are accumulated doesn't help.
254252
if not metric.accumulate:
255253
self.metrics[metric] = self.metrics.get(metric, 0) - value
256254

0 commit comments

Comments
 (0)