Skip to content

Commit

Permalink
Minor fixes to gRPC retries
Browse files Browse the repository at this point in the history
  • Loading branch information
RajivChitale committed Feb 17, 2024
1 parent 28bb693 commit 5417576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CompilerInterface/GrpcCompilerInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def start_server(self):
"{}:{}".format(self.host, self.server_port)
)

if str(added_port) == self.server_port:
if added_port == self.server_port:
server.start()
print("Server Running")
server.wait_for_termination()
Expand All @@ -100,7 +100,7 @@ def start_server(self):
retries += 1
print(
"The port",
self.port,
self.server_port,
"is already in use retrying! attempt: ",
retries,
)
Expand Down

0 comments on commit 5417576

Please sign in to comment.