diff --git a/services/ec2/Ec2.py b/services/ec2/Ec2.py index d5c383b..10d4ba1 100644 --- a/services/ec2/Ec2.py +++ b/services/ec2/Ec2.py @@ -45,7 +45,7 @@ def getOutdateSQLVersion(self): try: outdateVersion = 2012 - resp = requests.get("https://endoflife.date/api/mssqlserver.json") + resp = requests.get("https://endoflife.date/api/mssqlserver.json", timeout=10) for prod in resp.json(): if date.today() > datetime.strptime(prod['eol'], '%Y-%m-%d').date(): outdateVersion = prod['cycle'][0:4]