Removed timeout

This commit is contained in:
Dimitris Zlatanidis 2023-07-04 22:11:32 +03:00
parent 52264b66f0
commit 3faf6769f1

View file

@ -6,7 +6,7 @@ import logging
from pathlib import Path
from multiprocessing import Process
from urllib3.exceptions import HTTPError
from urllib3 import PoolManager, ProxyManager, make_headers, Timeout
from urllib3 import PoolManager, ProxyManager, make_headers
from slpkg.configs import Configs
from slpkg.utilities import Utilities
@ -29,7 +29,6 @@ class CheckUpdates(Configs):
self.compare: dict = {}
timeout = Timeout(connect=2.0, read=3.0)
self.http = PoolManager()
self.proxy_default_headers = make_headers(
proxy_basic_auth=f'{self.proxy_username}:{self.proxy_password}')