fix: handle TimeoutError in fetch_info function to prevent double wait
This commit is contained in:
parent
691e37d279
commit
ac3c666d32
1 changed files with 3 additions and 0 deletions
|
|
@ -375,6 +375,9 @@ async def fetch_info(
|
||||||
timeout=extractor_config.timeout,
|
timeout=extractor_config.timeout,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
except TimeoutError:
|
||||||
|
raise
|
||||||
|
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
LOG.exception(exc)
|
LOG.exception(exc)
|
||||||
LOG.warning("extract_info process pool failed, falling back to thread pool url=%s error=%s", url, exc)
|
LOG.warning("extract_info process pool failed, falling back to thread pool url=%s error=%s", url, exc)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue