Rank 1: Thread
yes I did
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 1: Thread
yes I did
Rank 1: Thread
before then I was setting them manually
Rank 5: Hypervisor
Are the Documents actually created?
Rank 1: Thread
weirdly yes
Rank 1: Thread
but not all
Rank 5: Hypervisor
Wait, I should have remembered this, sorry.
Rank 5: Hypervisor
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.
Rank 1: Thread
actually this really might be the case I just found a contex.log in my loop
Rank 5: Hypervisor
Or it might be too much returned? Not certain
Rank 3: Container
Raised the exact same issue, no fix..
https://discord.com/channels/564160730845151244/1183840030456827904
Rank 1: Thread
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
Rank 1: Thread
it was the logs
I still suggest cutting down your function, though
Rank 1: Thread
oh yeah I already did
Rank 1: Thread
maxConcurrentRequests is 100
Rank 1: Thread
20 min execution time
this is too long
Rank 1: Thread
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
Rank 1: Thread
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
Rank 1: Thread
yeah that makes sense
Rank 1: Thread
Thank you guys so much for the help!
Rank 1: Thread
[Solved] An internal curl error Http invalid protocol