Geting TimeoutError despite using asnyc/await #3404
Replies: 4 comments
-
Who is raising the timeout? aiohttp or the browser viewing the |
Beta Was this translation helpful? Give feedback.
-
I'm getting a timeout error from the browser, I believe. The post requests do finish executing despite the timeout, however. |
Beta Was this translation helpful? Give feedback.
-
Ok. Can you, please, try to create a minimum reproducible code example? Currently there are functions like |
Beta Was this translation helpful? Give feedback.
-
Fixed my issue by implementing asynchronous database interaction (PostgreSQL + asyncpg driver), this allowed me to bundle several calls together and significantly reduce execution time. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
I currently have a test endpoint set up which I use to call my application's API in order to create some sample data. This process uses asynchronous calls to retrieve the results from the API call, but despite this being the case, I'm still getting a timeout error.
This is the endpoint that calls the API:
This is the hitApiPost method being called:
What could I change to get rid of the timeout error? Appreciate any help
Beta Was this translation helpful? Give feedback.
All reactions