From 6f20ee2c4e2ded13ba28dc26cbc63d50b6130bf3 Mon Sep 17 00:00:00 2001 From: peppelinux Date: Thu, 10 Jun 2021 11:18:12 +0200 Subject: [PATCH] feat: default httpc_params configuration - added 4 second timeout --- src/oidcop/configure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/oidcop/configure.py b/src/oidcop/configure.py index 8c0060c6..edd270c9 100755 --- a/src/oidcop/configure.py +++ b/src/oidcop/configure.py @@ -65,7 +65,7 @@ } }, }, - "httpc_params": {"verify": False}, + "httpc_params": {"verify": False, "timeout": 4}, "issuer": "https://{domain}:{port}", "template_dir": "templates", "token_handler_args": { @@ -503,7 +503,7 @@ def __init__( }, }, }, - "httpc_params": {"verify": False}, + "httpc_params": {"verify": False, "timeout": 4}, "issuer": "https://{domain}:{port}", "keys": { "private_path": "private/jwks.json",