a3dc
CDCloudflare Developers
•Created by a3dc on 5/1/2025 in #workers-help
Exceeded CPU Time Limits
We have a problem with a worker that handles batch prediction on Azure using setTimeout to wait for the data to be processed (https://www.npmjs.com/package/@dn-institute/cloudflare-workers-batch-prediction). We are getting "Exceeded CPU Time Limits" errors on jobs that take longer than 15 minutes of Wall Time. This is a cron-triggered hourly worker on a paid plan, and the CPU times for the worker do not exceed 50ms. The errored runs show 6ms of CPU Time and 15 minutes of Wall Time. It looks as if the 15-minute limit is being applied to Wall Time instead of CPU Time. Any advice on where to look next is highly appreciated!
6 replies