Long Running Cloudflare Containers Processes

Wondering if anyone has some guidance they can share - we have an AI process that runs in a container and takes about 15-20 minutes per invocation. This is triggered by an R2 event subscription where the consumer worker calls my Cloudflare Container app. Right now the issue is the proxy worker that forwards the request to the container is timing out at 180,000 ms (3 minutes) and causing the process to be retried. The actual process works within the deployed container, but we don't want it to be continuously retried by the platform timeout error. This seems to be the worker CPU time limit. Unfortunately pushing it up to 5 minutes won't help.
2 Replies
Chaika
Chaika•3mo ago
SuperHelpflare
SuperHelpflare•3mo ago
Please do not post your question in multiple channels/post it multiple times per the rules at #😃welcome-and-rules. It creates confusion for people trying to help you and doesn't get your issue or question solved any faster.

Did you find this page helpful?