Skip to content

Commit

Permalink
Revert only tacker timeout handling
Browse files Browse the repository at this point in the history
Was catching wait time editing descriptions and the like
  • Loading branch information
Audionut committed Nov 1, 2024
1 parent c3eea23 commit a9031e8
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions src/prep.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,6 @@ async def gather_prep(self, meta, mode):
if match:
found_match = True
else:
timeout_duration = 2 # seconds
# Process all trackers with API = true if no specific tracker is set in meta
default_trackers = self.config['TRACKERS'].get('default_trackers', "").split(", ")

Expand All @@ -566,8 +565,6 @@ async def gather_prep(self, meta, mode):
)
if match:
found_match = True
except asyncio.TimeoutError:
print("PTP tracker request timed out.")
except aiohttp.ClientSSLError:
print("PTP tracker request failed due to SSL error.")
except requests.exceptions.ConnectionError as conn_err:
Expand All @@ -584,8 +581,6 @@ async def gather_prep(self, meta, mode):
)
if match:
found_match = True
except asyncio.TimeoutError:
print("BLU tracker request timed out.")
except aiohttp.ClientSSLError:
print("BLU tracker request failed due to SSL error.")
except requests.exceptions.ConnectionError as conn_err:
Expand All @@ -601,8 +596,6 @@ async def gather_prep(self, meta, mode):
)
if match:
found_match = True
except asyncio.TimeoutError:
print("AITHER tracker request timed out.")
except aiohttp.ClientSSLError:
print("AITHER tracker request failed due to SSL error.")
except requests.exceptions.ConnectionError as conn_err:
Expand All @@ -618,8 +611,6 @@ async def gather_prep(self, meta, mode):
)
if match:
found_match = True
except asyncio.TimeoutError:
print("LST tracker request timed out.")
except aiohttp.ClientSSLError:
print("LST tracker request failed due to SSL error.")
except requests.exceptions.ConnectionError as conn_err:
Expand All @@ -635,8 +626,6 @@ async def gather_prep(self, meta, mode):
)
if match:
found_match = True
except asyncio.TimeoutError:
print("OE tracker request timed out.")
except aiohttp.ClientSSLError:
print("OE tracker request failed due to SSL error.")
except requests.exceptions.ConnectionError as conn_err:
Expand All @@ -652,8 +641,6 @@ async def gather_prep(self, meta, mode):
)
if match:
found_match = True
except asyncio.TimeoutError:
print("TIK tracker request timed out.")
except aiohttp.ClientSSLError:
print("TIK tracker request failed due to SSL error.")
except requests.exceptions.ConnectionError as conn_err:
Expand All @@ -669,8 +656,6 @@ async def gather_prep(self, meta, mode):
)
if match:
found_match = True
except asyncio.TimeoutError:
print("HDB tracker request timed out.")
except aiohttp.ClientSSLError:
print("HDB tracker request failed due to SSL error.")
except requests.exceptions.ConnectionError as conn_err:
Expand Down

0 comments on commit a9031e8

Please sign in to comment.