Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 0bc0651

Browse files
authored
update, cor- bug connection
1 parent 0a38009 commit 0bc0651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PostgreSQLClient.gd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func connect_to_host(url: String, ssl := false, connect_timeout := 30) -> int:
121121
error = client.connect_to_host(result.strings[3], port)
122122

123123
# Get the fist message of server.
124-
if error == OK and client.is_connected_to_host() and client.get_status() == StreamPeerTCP.STATUS_CONNECTED:
124+
while not (error == OK and client.is_connected_to_host() and client.get_status() == StreamPeerTCP.STATUS_CONNECTED):
125125
if ssl:
126126
### SSLRequest ###
127127

0 commit comments

Comments
 (0)