From 2c5431cd357c0394ecb78f4e97aa4b288fe49d87 Mon Sep 17 00:00:00 2001 From: Dobin Date: Sat, 18 Mar 2023 12:16:45 +0100 Subject: [PATCH] fix: increase timeout again --- scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanner.py b/scanner.py index cc27334..524d43e 100644 --- a/scanner.py +++ b/scanner.py @@ -13,7 +13,7 @@ class ScannerRest(Scanner): def scan(self, data, filename): params = { 'filename': filename } - res = req.post(f"{self.scanner_path}/scan", params=params, data=data, timeout=3) + res = req.post(f"{self.scanner_path}/scan", params=params, data=data, timeout=10) jsonRes = res.json() if res.status_code != 200: