fix: Increase timeouts
This commit is contained in:
1 parent
d29edccb21
commit
958fe4996c
2 files changed
+2
-2
No files matched your search
+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