-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Labels
Description
Describe the bug
The API is timing out when attempting to retrieve transactions for an account that has a very large number of transactions, even with a low limit. For example,
To Reproduce
Steps to reproduce the behavior:
curl -s "https://api.hiro.so/extended/v2/addresses/SP3SBQ9PZEMBNBAWTR7FRPE3XK0EFW9JWVX4G80S2/transactions?limit=30&offset=0"- See error:
{"statusCode":500,"code":"57014","error":"Internal Server Error","message":"canceling statement due to statement timeout"}
Expected behavior
Users should be able to retrieve transactions for any account in a reasonable time.
Note that this shows up in the explorer on the account pages, e.g. https://explorer.hiro.so/address/SP3XXK8BG5X7CRH7W07RRJK3JZJXJ799WX3Y0SMCR?chain=mainnet
