With const syncQueue = new Queue({key: 'sync-queue'}); instantiated in a resolver and doing only one push:
const jobId = await syncQueue.push({
// some props here
});
The queue runs, and then it says:
Function result will not be returned to the Forge platform, as the function did not complete within 25 seconds. In invocations outside tunnel, functions that exceed the time limit are terminated.
and restarts the job over and over till it stops. From my understanding the 25 seconds limit shouldn’t apply here…
Can you point me to an example of this “chaining” docs/code example? I need to be able to make over 100 network requests for initial syncing purposes for large projects.
“If this happens once” is what I probably should have said.
I’ve seen a common pattern where a huge amount of work is done after installation to initialise the database to the right shape and have the right stuff.
e.g. If this is happening every time a Confluence comment gets made you may have to start thinking about rate limits, you may surpass the 500 events per minute limit.