Getting "exceededCPU" error on workers with queues.

I am using workers to with push based queues to process my videos.

The videos are barely 20MBs on average, i get them from a usrl and I am uploading it to R2 using stream.

Also my worker takes aroudn 10-15K ms on average with 2-3 seconds of CPU time. but I keep getting 'exceededCpu' error randomly and the metrics display those errors as the Exceeded CPU Time Limits errors.

Wanted to understand - what could the issue be exacly and how can I fix it?
Screenshot_2025-04-08_at_3.50.34_AM.png
Screenshot_2025-04-08_at_3.54.49_AM.png
Screenshot_2025-04-08_at_3.55.14_AM.png
Was this page helpful?