From 07775a385f27cf74232bccf11f9ef7af0289d63d Mon Sep 17 00:00:00 2001 From: Admin MPCZ Date: Tue, 14 Apr 2026 16:07:03 +0200 Subject: [PATCH] Qualys activation keys: short timeout (5s) --- app/services/qualys_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/qualys_service.py b/app/services/qualys_service.py index b805eb7..562088b 100644 --- a/app/services/qualys_service.py +++ b/app/services/qualys_service.py @@ -479,7 +479,7 @@ def get_activation_keys(db): f"{qualys_url}/qps/rest/1.0/search/ca/agentactkey", json={"ServiceRequest": {"preferences": {"limitResults": 20}}}, auth=(qualys_user, qualys_pass), - verify=False, timeout=30, proxies=proxies, + verify=False, timeout=5, proxies=proxies, headers={"X-Requested-With": "Python", "Content-Type": "application/json"}) except Exception: return []