#What is the CPU limit for hourly crons?

11 messages · Page 1 of 1 (latest)

violet orchid
#

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.

magic stag
#

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

violet orchid
#

Hey - thanks for the reply

#

It's definitely usage_model = "unbound"

#

And in the UI on the dash it is showing that too 😅

magic stag
#

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

violet orchid
#

Yeah I am on workers paid 😬

#

It’s so so weird

magic stag
#

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