confusion about cf workers CPU limit
its 10ms for free tier, right?
so how am i hitting these CPU times?
12 Replies
You can occasionally spike above the limit
how occasionally?
I wouldn't rely on it
its almost always above 10ms
and i get no errors
Huh that's strange. How many requests it that?
a lot of them
That's odd then 🤔, I'm not sure why that's possible
i have the same doubt
@zegevlier is it possible i get special privileges because i use custom domains from cloudflare?
(i dont pay for cf workers tho)
No you dont get any special privileges for custom domains. You get 10ms of CPU time but it can go over. Generally if your median is very close to 10ms you will be fine. So a 10.5ms median is very much in range.
hmmm
As Leo says, the limits are very leniant
10ms should be your goal to keep under, if you go above then it might work or might not depending on request patterns