Skip to content

Commit

Permalink
fix: only fix host_clock once
Browse files Browse the repository at this point in the history
  • Loading branch information
taloric authored and sharang committed Oct 16, 2024
1 parent e850faf commit 234374d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/app/application/l7_flow_tracing.py
Original file line number Diff line number Diff line change
Expand Up @@ -3437,7 +3437,9 @@ def tidy_host_clock_correction(self) -> dict:
correction_value = 0
host_clock_correction_dict[child] = correction_value
for sub in self.host_relations.get(child, set()):
stack.append((sub, correction_value))
# XXX: 暂时只修正一次,避免 host 成环无法 escape loop
if sub not in host_clock_correction_dict.keys():
stack.append((sub, correction_value))

# remove 0 value
non_zero_host_clock_correction = dict()
Expand Down

0 comments on commit 234374d

Please sign in to comment.