Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Commit

Permalink
fix: fix route table sum time
Browse files Browse the repository at this point in the history
  • Loading branch information
raccoonliukai committed Sep 25, 2019
1 parent 1ce6350 commit 8c6f255
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gnes/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,8 @@ def make_route_table(routes, include_frontend: bool = False, jitter: float = 1e-
total_duration = get_duration(routes[0].start_time, routes[-1].end_time) + jitter
sum_duration = 0
for k in routes:
if k.service == 'FrontEndService':
continue
d = get_duration(k.start_time, k.end_time)
route_time.append((k.service, d))
sum_duration += d
Expand Down

0 comments on commit 8c6f255

Please sign in to comment.