Skip to content
Snippets Groups Projects
Commit 7fa5c1ce authored by Eugine Blikh's avatar Eugine Blikh
Browse files

Fix for connection timeout in --gdb

parent c5f674d1
No related branches found
No related tags found
No related merge requests found
......@@ -438,7 +438,7 @@ class TarantoolServer(Server):
time.sleep(0.001)
is_connected = False
while not is_connected:
while not is_connected and not self.gdb:
try:
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.connect(("localhost", self.port))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment