I have a doubt about cloudflare
I have a doubt about cloudflare containers. I have a video processing work load which downlaod the video from r2 and do some processing and send the results to database. Is there any time restrictions for container run time? because it probably take more time depend upon the video size. I think container should call from worker and worker have a time execution limit.
2 Replies
We won't purposely kill the container at a certain amount of time, so it'll by default run for as long as you set
sleepAfter
for (though there's a bug here currently being worked on).
We can't guarantee we won't have to restart the host your container is on though. If this happens, we will send a SIGTERM then a SIGKILL 15 minutes later. This will happen from time to time, but on an irregular cadence.Hi thanks for the response, my application is video processing which take a video and run through machine learning algorithms and save results into database. So if a container start based on a request and then it run as long as based on video then it stop after container stop execution right?