punnP
Convex Community3y ago
40 replies
punn

Function execution timed out (120s)

One of our larger actions that imports a ton of data from an external source takes quite a while to execute and we're hitting the timeout.

Is there any suggested patterns we should employ?

the flow is as follows:
1. fetch all listingId, fetch and store all reservationIds
2. for each reservationId, fetch and store all conversationIds
2. for each conversationId, fetch and store all messages
Was this page helpful?