mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
Removed timeout
This commit is contained in:
parent
52264b66f0
commit
3faf6769f1
1 changed files with 1 additions and 2 deletions
|
@ -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}')
|
||||
|
|
Loading…
Reference in a new issue