Skip to content

Commit ed54a6b

Browse files
committed
delete some older code
1 parent cca750e commit ed54a6b

File tree

4 files changed

+38
-1680
lines changed

4 files changed

+38
-1680
lines changed

checks/http_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
from forcediphttpsadapter.adapters import ForcedIPHTTPSAdapter
1111

1212
from checks.tasks import SetupUnboundContext
13-
from checks.tasks.tls_connection import DEFAULT_TIMEOUT
1413
from checks.tasks.tls_connection_exceptions import NoIpError
1514
from interface.views.shared import ub_resolve_with_timeout
1615
from internetnl import log
@@ -19,6 +18,8 @@
1918
urllib3.disable_warnings()
2019

2120

21+
DEFAULT_TIMEOUT = 10
22+
2223
def _do_request(args, headers, kwargs, session, url):
2324
"""
2425
This small wrapper helps with handling of redirects.

0 commit comments

Comments
 (0)