mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-04 13:22:41 +02:00
feat: updated agent harness
This commit is contained in:
parent
9ec9b64348
commit
31a372bb84
139 changed files with 12583 additions and 1111 deletions
|
|
@ -33,7 +33,7 @@ F = TypeVar("F", bound=Callable)
|
|||
def _is_retryable(exc: BaseException) -> bool:
|
||||
if isinstance(exc, ConnectorError):
|
||||
return exc.retryable
|
||||
return bool(isinstance(exc, (httpx.TimeoutException, httpx.ConnectError)))
|
||||
return bool(isinstance(exc, httpx.TimeoutException | httpx.ConnectError))
|
||||
|
||||
|
||||
def build_retry(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue