This commit is contained in:
+2
-2
@@ -1425,8 +1425,8 @@ def register_web_routes(app, dependencies):
|
||||
# Create request with timeout (no body needed for query parameters)
|
||||
req = urllib.request.Request(core_url, method='POST')
|
||||
|
||||
# Make request with timeout
|
||||
with urllib.request.urlopen(req, timeout=30) as response:
|
||||
# Make request with timeout (increased for manual scans which can take several minutes)
|
||||
with urllib.request.urlopen(req, timeout=300) as response:
|
||||
response_data = response.read().decode('utf-8')
|
||||
return json.loads(response_data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user