decrease timeout from 5 to 3s on services

This commit is contained in:
Tomáš Mládek 2020-09-15 20:58:35 +02:00
parent 7762872e06
commit d65e92e323

View file

@ -71,7 +71,7 @@ class IndexView(TemplateView):
async def process_services(self, services):
result = []
session = aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(total=5, sock_connect=1))
session = aiohttp.ClientSession(timeout=aiohttp.ClientTimeout(total=3, sock_connect=1))
for service in services:
index_status, index_text = None, None