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

Commit

Permalink
feat(frontend): add route time table
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Sep 12, 2019
1 parent 28cf42a commit 8163926
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gnes/service/frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from concurrent.futures import ThreadPoolExecutor

import grpc
from termcolor import colored

from .. import __version__, __proto_version__
from ..client.base import ZmqClient
Expand Down Expand Up @@ -119,7 +118,6 @@ def get_duration(start_time, end_time):
d_n += 1e9
return d_s + d_n / 1e9


def Call(self, request, context):
with self.zmq_context as zmq_client:
zmq_client.send_message(self.add_envelope(request, zmq_client), self.args.timeout)
Expand Down

0 comments on commit 8163926

Please sign in to comment.