fix: Increase timeouts

This commit is contained in:
2022-02-27 15:43:24 +03:00
parent d29edccb21
commit 958fe4996c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import httpx
from bs4 import BeautifulSoup
from pydantic import BaseModel
_http = httpx.AsyncClient()
_http = httpx.AsyncClient(timeout=20, follow_redirects=True)
class PrayerTimes(BaseModel):
+1 -1
View File
@@ -7,7 +7,7 @@ from pydantic import BaseModel
from app import config
_http = httpx.AsyncClient()
_http = httpx.AsyncClient(timeout=20, follow_redirects=True)
class Location(BaseModel):