I deploy my nextjs to Pages: here is the metric for the functions. It keeps saying "Exceeded CPU lim

I deploy my nextjs to Pages: here is the metric for the functions. It keeps saying "Exceeded CPU limit". what is the possible solution here, should I upgrade to Worker paid with has maximum 30s CPU time per invocation.
image.png
Was this page helpful?