Slow API response
Hello community,
Facing an issue with an RPC function.
I've checked the function performance thoroughly using explain analyze. It takes <70ms for the function to execute. However, the API response takes more than 5 sec. And there isn't a lot of data being transferred - I removed all the data in the response and it still takes over 5 sec
Any idea why this might be happening? Or a solve for it?
Thanks
Facing an issue with an RPC function.
I've checked the function performance thoroughly using explain analyze. It takes <70ms for the function to execute. However, the API response takes more than 5 sec. And there isn't a lot of data being transferred - I removed all the data in the response and it still takes over 5 sec
Any idea why this might be happening? Or a solve for it?
Thanks