- Notifications
You must be signed in to change notification settings - Fork35
Add port conn params#127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
4f5e23c
to2afcc92
Compare@staticmethod | ||
def is_port_open(host, port): | ||
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock: | ||
sock.settimeout(1) # Таймаут для попытки соединения |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
sock.settimeout(1)#Таймаут для попытки соединения | |
sock.settimeout(1)#Timeout for connection attempt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Hi, it will be added in scope ofhttps://github.com/postgrespro/testgres/pull/129/files I think the new testgres version will be deployed next week.
2afcc92
to37323ab
Compare37323ab
to1eb9a92
Compare
No description provided.