What is the CPU limit for hourly crons?
My worker is unbounded, and the cron is running hourly, which I believe means it should have a relatively decent CPU allowance. It's getting to 200ms or so, and then dying. What is the limit? I'm using the Browser Rendering API, and retrieving one web page, so would expect this to be fine really. And it's definitely CPU as the logs are saying CPU exceeded.
6 Replies
You get 15 minutes of CPU time on Cron invocation on the unbound usage model
You might be set to bundled, check your wrangler.toml
there's also a chance you're running the 128mb limit but i don't think that would throw a cpu issue to logs
Hey - thanks for the reply
It's definitely
usage_model = "unbound"
And in the UI on the dash it is showing that too 😅No clue then.. you're on workers paid, right? Maybe it's some weirdness with that. I see no reason why it should be dropping out
Yeah I am on workers paid 😬
It’s so so weird
Browser Rendering API is in beta
could be a bug
you might want to get in touch with someone on the team for whatever it is
Yeah popped a thread in that channel and no one replied yet, but hopefully someone does 🤞