fix: Increase timeouts
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ import httpx
|
|||||||
from bs4 import BeautifulSoup
|
from bs4 import BeautifulSoup
|
||||||
from pydantic import BaseModel
|
from pydantic import BaseModel
|
||||||
|
|
||||||
_http = httpx.AsyncClient()
|
_http = httpx.AsyncClient(timeout=20, follow_redirects=True)
|
||||||
|
|
||||||
|
|
||||||
class PrayerTimes(BaseModel):
|
class PrayerTimes(BaseModel):
|
||||||
|
|||||||
+1
-1
@@ -7,7 +7,7 @@ from pydantic import BaseModel
|
|||||||
|
|
||||||
from app import config
|
from app import config
|
||||||
|
|
||||||
_http = httpx.AsyncClient()
|
_http = httpx.AsyncClient(timeout=20, follow_redirects=True)
|
||||||
|
|
||||||
|
|
||||||
class Location(BaseModel):
|
class Location(BaseModel):
|
||||||
|
|||||||
Reference in New Issue
Block a user