From 8a629a30889e59206e379f84dd027365747422ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Such=C3=A1nek?= Date: Mon, 30 Dec 2024 12:09:31 +0100 Subject: [PATCH] Increase HTTP timeout --- nanopub_submitter/nanopub.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nanopub_submitter/nanopub.py b/nanopub_submitter/nanopub.py index d45a642..2764138 100644 --- a/nanopub_submitter/nanopub.py +++ b/nanopub_submitter/nanopub.py @@ -128,8 +128,7 @@ def _publish_nanopub(nanopub_bundle: str, ctx: NanopubProcessingContext) -> list 'Content-Type': f'application/trig; charset={DEFAULT_ENCODING}', 'User-Agent': f'{PACKAGE_NAME}/{PACKAGE_VERSION}', }, - timeout=20, - verify=False, + timeout=300, ) if not r.ok: ok = False