10 second limit on "Post Process" function ?
Hi,
We've recently implemented an api with the "Post Process" function in the function stack.
Our intention was to put a long running operation (loop of web callouts) in the "Post Process" and then store the result of all the callouts in the Xano Database.
The issue we've run into, is that in both prod and dev, the Post Process quits exactly after 10 seconds (almost always around 10,5 - 10,7) seconds. We've done our best to isolate the issue to the point where we're fairly confident that it isn't something breaking somewhere else.
I can't find anything in the docs - can anyone pitch in here?
Thanks
Best Answer
-
Hi, @Joe. There is no limit that I'm aware of on how long Post Process can execute. See the quick test below.
Are you testing via Run & Debug, and if so, do you receive any errors or anything?
Answers
-
Hi, Joe thanks for reaching out, there isn't a timeout built into the post-process specifically.
10 Seconds does sound familiar though, this is the default timeout allocated to an External API request. Can you try adjusting the timeout associated with your API calls and see if this resolves the issue? -
Thanks for the speedy answers, @Lachlan & @Chris Coleman - much appreciated.
I must apologise as this was entirely our fault, and nothing to do with Xano.
This is the first backend we're doing no/low code (usually do them in NodeJs) and when both of out test-datasets consistently failed at a pretty 10 seconds, I assumed it had something to do with the platform. It just so happend, that it was a lambda/var assignment error.
Both of you. Thanks for the quick assistance.
Joe
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback