We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9651ee8 commit 94cfdf3Copy full SHA for 94cfdf3
builder/penv_setup.py
@@ -46,9 +46,9 @@
46
}
47
48
49
-def has_internet_connection(host="8.8.8.8", port=53, timeout=2):
+def has_internet_connection(host="1.1.1.1", port=53, timeout=2):
50
"""
51
- Checks if an internet connection is available (default: Google DNS server).
+ Checks if an internet connection is available (default: Cloudflare DNS server).
52
Returns True if a connection is possible, otherwise False.
53
54
try:
0 commit comments