mirror of
https://github.com/yasirarism/MissKatyPyro.git
synced 2026-01-07 12:24:51 +00:00
Increase timeout
This commit is contained in:
parent
041b9fe856
commit
b0a5839e15
1 changed files with 1 additions and 1 deletions
|
|
@ -106,7 +106,7 @@ async def carbon_make(self: Client, ctx: Message):
|
||||||
}
|
}
|
||||||
try:
|
try:
|
||||||
response = await fetch.post(
|
response = await fetch.post(
|
||||||
"https://carbon.yasirapi.eu.org/api/cook", json=json_data
|
"https://carbon.yasirapi.eu.org/api/cook", json=json_data, timeout=20
|
||||||
)
|
)
|
||||||
except httpx.HTTPError as exc:
|
except httpx.HTTPError as exc:
|
||||||
return await ctx.reply_msg(f"HTTP Exception for {exc.request.url} - {exc}")
|
return await ctx.reply_msg(f"HTTP Exception for {exc.request.url} - {exc}")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue