ivanfvj
CDCloudflare Developers
•Created by ivanfvj on 3/12/2024 in #workers-help
Sudden appearance of CPU time limit
By the way, thanks for looking into this
8 replies
CDCloudflare Developers
•Created by ivanfvj on 3/12/2024 in #workers-help
Sudden appearance of CPU time limit
Here I post an update I posted on #workers-discussions:
I have found and applied a solution that was moving an import inside the cloudflare workers handler, so it reduced the startup time. Reference example here: https://github.com/cloudflare/workers-sdk/issues/3096#issuecomment-1560883961
I am using apollo server on cloudflare workers with this library "@as-integrations/cloudflare-workers": "^0.2.0".
But what I found weird is that the dashboard didn't work either. Also, the deployment was delayed, and even changing to a different network didn't work.
I am testing it now and seems like it's working again, and the last deployment is now using the updated environment variables
Did Cloudflare change some limits?
8 replies
CDCloudflare Developers
•Created by ivanfvj on 3/12/2024 in #workers-help
Sudden appearance of CPU time limit
8 replies
CDCloudflare Developers
•Created by ivanfvj on 3/12/2024 in #workers-help
Sudden appearance of CPU time limit
I have a custom domain bound to the worker application and I noticed that my simple deployment (just returning new Response('Hello, world!', { status: 200 }) ) don't update the worker or the domain.
Additional information: My application runs a GraphQL Apollo Server with the
"@as-integrations/cloudflare-workers": "^0.2.0", library
8 replies
CDCloudflare Developers
•Created by ivanfvj on 3/12/2024 in #workers-help
Sudden appearance of CPU time limit
Just to add: Upgrading to a "Paid" plan in workers didn't fix the issue
8 replies