Hacker News new | ask | show | jobs
by gls2ro 59 days ago
I think it is possible.

I was reading the pricing page for workers and here is what it says there:

> To prevent accidental runaway bills or denial-of-wallet attacks, configure the maximum amount of CPU time that can be used per invocation by defining limits in your Worker's Wrangler file, or via the Cloudflare dashboard (Workers & Pages > Select your Worker > Settings > CPU Limits).

Link: end of example 4 section: https://developers.cloudflare.com/workers/platform/pricing/

1 comments

Limiting CPU time for a single invocation of a worker is more for catching bugs in code that is using more CPU than expected and is not whatsoever effective as a hard limit on spending...