CPU time limit

Currently I'm on the workers free plan and developing an invoicing solution which creates a pdf with pdfmake and I see that the median CPU time reported by the dashboard is above 100ms. So I'm wondering how is the 10ms limit is enforced? It didn't terminate because I was using the dev server (although with the -r option) or it only terminates if the limit is frequently reached?
1 Reply
Noel
Noel12mo ago
and does it help or not if i have other faster endpoints in the same worker? also it's for a startup, so even in production I don't expect more than 100 invoices/month okay, thanks for the help; i'll add a col to my d1 table to track if the generation was successful or not and will keep an eye on it