Razzmatazz
CDCloudflare Developers
•Created by Razzmatazz on 3/29/2024 in #workers-help
Unable to purge by URL in worker
This seems like a potential bug in the cloudflare API; I'm surprised nobody else has noticed it
5 replies
CDCloudflare Developers
•Created by Razzmatazz on 3/29/2024 in #workers-help
Unable to purge by URL in worker
I send a post request to that endpoint with the same authentication input postman, and the response indicates success (and it actually purges). I send the same request from a worker using fetch, and it doesn’t purge even though the response also indicates success.
5 replies
CDCloudflare Developers
•Created by Razzmatazz on 3/29/2024 in #workers-help
Unable to purge by URL in worker
I’m not using the workers cache api; I’m using the cloudflare api where the endpoint is the api.cloudflare.com address
5 replies
CDCloudflare Developers
•Created by Razzmatazz on 3/18/2024 in #workers-help
Caching POST requests works but shows warning in console
ah so if there's a slight delay in reading one of them the warning may be shown? is it safe to ignore the warning if I'm sure both are being read?
6 replies
CDCloudflare Developers
•Created by Razzmatazz on 3/18/2024 in #workers-help
Caching POST requests works but shows warning in console
Hi! Yes, the original (uncloned) request is later accessed with
await request.json();
6 replies
CDCloudflare Developers
•Created by Razzmatazz on 3/4/2024 in #workers-help
Sudden appearance of "Worker exceeded CPU time limit" errors
nope, it has been resolved with the fix CF deployed
17 replies
CDCloudflare Developers
•Created by Razzmatazz on 3/4/2024 in #workers-help
Sudden appearance of "Worker exceeded CPU time limit" errors
Thanks. My ticket number is #3169997
17 replies
CDCloudflare Developers
•Created by Razzmatazz on 3/4/2024 in #workers-help
Sudden appearance of "Worker exceeded CPU time limit" errors
I recommend opening a support ticket with CF, that’s what I’m doing
17 replies
CDCloudflare Developers
•Created by Razzmatazz on 3/4/2024 in #workers-help
Sudden appearance of "Worker exceeded CPU time limit" errors
The dashboard shows an error saying that I can’t change it because the account isn’t on the unbound workers plan. Which, duh, that plan was phased out on March 1
17 replies
CDCloudflare Developers
•Created by Razzmatazz on 3/4/2024 in #workers-help
Sudden appearance of "Worker exceeded CPU time limit" errors
Check the settings for the worker in your cloudflare dashboard. I found that the migration to the standard usage model set a 50 ms cpu limit on one of our environments that I’m unable to change
17 replies
CDCloudflare Developers
•Created by Razzmatazz on 3/4/2024 in #workers-help
Sudden appearance of "Worker exceeded CPU time limit" errors
Once the worker is started, all requests count against the cpu limits rather than each request having its own cpu limit
17 replies
CDCloudflare Developers
•Created by Razzmatazz on 3/4/2024 in #workers-help
Sudden appearance of "Worker exceeded CPU time limit" errors
It also seems to be counting invocation runtime incorrectly when using wrangler dev.
17 replies
CDCloudflare Developers
•Created by Razzmatazz on 3/4/2024 in #workers-help
Sudden appearance of "Worker exceeded CPU time limit" errors
I see in the workers dashboard our production environment doesn’t have a limit, but the development environment does. There shouldn’t be a limit because we’re on the unbound plan, so I think when accounts were “automatically transitioned” on March 1, something was done incorrectly with that environment
17 replies
CDCloudflare Developers
•Created by Razzmatazz on 3/4/2024 in #workers-help
Sudden appearance of "Worker exceeded CPU time limit" errors
How would I test that? Using the unbound workers plan
17 replies
CDCloudflare Developers
•Created by Jonathan Riche on 3/4/2024 in #general-help
Paid Workers Plan CPU Timeout under 5 seconds
Ah I’m having a similar problem with wrangler dev but must be unrelated
14 replies