Skip to content

Commit d74a616

Browse files
committed
Make countdown check a bit more permissive
1 parent 7009dd8 commit d74a616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

instana/meter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def process(self):
134134
ss = None
135135
cm = self.collect_metrics()
136136

137-
if self.snapshot_countdown == 0:
137+
if self.snapshot_countdown < 1:
138138
self.snapshot_countdown = self.SNAPSHOT_PERIOD
139139
ss = self.collect_snapshot()
140140
md = copy.deepcopy(cm).delta_data(None)

0 commit comments

Comments
 (0)