Skip to content
Permalink
Browse files

fix(style): double quote to single quote

  • Loading branch information...
hanxiao committed Oct 14, 2019
1 parent 2045a54 commit 8911314b6ac90dba88ec9efe805182fb575e1e03
Showing with 2 additions and 4 deletions.
  1. +2 −4 gnes/service/frontend.py
@@ -129,16 +129,14 @@ def get_response(num_recv, blocked=False):
with self.zmq_context as zmq_client:

for request in request_iterator:
self.logger.info("get request: %d" % request.request_id)
self.logger.info('send request: %s' % request.request_id)
num_recv = max(self.pending_request - self.args.max_pending_request, 1)
yield from get_response(num_recv, num_recv > 1)

# self.logger.info("start to send request: %d (%d) ..." % (request.request_id, self.pending_request))
zmq_client.send_message(self.add_envelope(request, zmq_client), **self.send_recv_kwargs)
# self.logger.info("request has been send out!")
self.pending_request += 1

self.logger.info("all requests are appended, waiting for responses ...")
self.logger.info('all requests are sent, waiting for the responses...')
yield from get_response(self.pending_request, blocked=True)

class ZmqContext:

0 comments on commit 8911314

Please sign in to comment.
You can’t perform that action at this time.