Skip to content

Commit

Permalink
fix #60
Browse files Browse the repository at this point in the history
  • Loading branch information
hanhxiao committed Dec 8, 2018
1 parent a7ff06b commit a5cdcae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/bert_serving/server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def run(self):
job_checksum[job_info] = int(msg_info)
self.logger.info('job register\tsize: %d\tjob id: %s' % (int(msg_info), job_info))
elif msg_type == ServerCommand.show_config:
time.sleep(100) # dirty fix: sleep for a while until client receiver is connected.
time.sleep(0.1) # dirty fix: sleep for a while until client receiver is connected.
self.logger.info('send config\tclient %s' % client_addr)
sender.send_multipart([client_addr, msg_info, req_id])
except zmq.error.ContextTerminated:
Expand Down

0 comments on commit a5cdcae

Please sign in to comment.