fix: increase timeout again

This commit is contained in:
2023-03-18 12:16:45 +01:00
parent 3225efbe5d
commit 2c5431cd35
+1 -1
View File
@@ -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: