Hello everbody,
I have a big Problem with the Limitation for a Forge App.
Here is a simple description what I need to do at the app first setup.
- Requestion 3th Party API to get open deals
- Save every Open Deal in Storage
- Save every Product / Service in Storage
This can hit the Storage Limit really really fast. We are talking here about 1000 entities which needed to be saved.
The Storage Limit is atm. 10 Requests per Second:
So I thought, just put a sleep function Inbetween and the Problem should be resolved:
export const sleep = async (time: number) => {
return new Promise((resolve) => {
setTimeout(resolve, time)
})
}
And now Im hitting the the Runtime Limit of 10 seconds:
My Question:
How do you resolve this problem?
How did you solve import large data into the app without hitting the limits?
Thanks for any help ![]()