there's no hard limit on duration (other then the fact that runtime upgrades happen and your worker

there's no hard limit on duration (other then the fact that runtime upgrades happen and your worker only gets 30s to finish its work). There are limits on CPU Time (time the cpu is active/doing stuff, most importantly excludes time waiting on i/o like fetchs) and Memory: https://developers.cloudflare.com/workers/platform/limits/#worker-limits
Cloudflare Docs
Cloudflare Workers plan and platform limits.
Was this page helpful?