yes I did
before then I was setting them manually
Are the Documents actually created?
weirdly yes
but not all
Wait, I should have remembered this, sorry.
I think you might be logging too much - there's a limit as to how much the logs can handle, and if you try to exceed that limit, the Function will fail.
actually this really might be the case I just found a contex.log in my loop
Or it might be too much returned? Not certain
Raised the exact same issue, no fix..
https://discord.com/channels/564160730845151244/1183840030456827904
and it fixed it
This is too long. break your function down so it finishes faster. the longer a function runs, the more likely it will be to be killed because it hasn't finished successfully recently
it was the logs
I still suggest cutting down your function, though
oh yeah I already did
maxConcurrentRequests is 100
20 min execution time
this is too long
I will try increasing
you might be able to increase the max concurrent requests a bit, but your whole function design overall can be improved to break down the task such that you execute the function more times and the execution time each time is less
I kinda already do this functions suppose to run once after initial installation after that I have a function that calls every minute to get new and updated data
For example, instead of importing 50k documents in 1 execution, import 5k in 1 execution and execute it 10 times
yeah that makes sense
Thank you guys so much for the help!
[Solved] An internal curl error Http invalid protocol
Recommended threads
- Error: Timed out waiting for runtime
I am trying to call a function on appwrite cloud (python 3.9), but I keep getting the above error (Timed out waiting for runtime) saying it timed out after 30 s...
- Random function timeouts
Sometimes my function runs without issue and I can see my logs in the Logs tab on cloud.appwrite.io. Other times, the function fails with a 500 status code, the...
- [SOLVED] Get Relations when using Tables...
Hi there, I have a table containing a relation column with a one-to-many relationship to another table. When Using TablesDB.GetRow in "node-appwrite" i get all ...