the user who reported the 1015, are they doing a ton of requests by any chance?
the user who reported the 1015, are they doing a ton of requests by any chance?

worker as rule name - If so, then they're triggering Cloudflare's anti-abuse system for workersworker . The account is on workers paid but I'll still ask support if they can increase that limit just in case. Thanks so much for your time, hope you've been well!.create()?
event.payload.YourParamName
ctx.waitUntil()
createCipheriv and createDecipheriv from the nodejs crypto module.
crypto.subtle.encrypt() and crypto.subtle.decrypt().
fromDriver and toDriver. I tried using CryptoJS. Is this possible? This works locally, however I get this error in Cloudflare server logs TypeError: Cannot read properties of undefined (reading 'encrypt')
waitUntil will still get to complete if a worker threw a uncaught exception?workerworker.create()event.payload.YourParamNamectx.waitUntil()createCipherivcreateDecipherivcryptocrypto.subtle.encrypt()crypto.subtle.decrypt()fromDrivertoDriverTypeError: Cannot read properties of undefined (reading 'encrypt')waitUntilconst baseRequest = new Request("http://example.com", { method: "GET" })
export default {
async fetch(request, env, context) {
const url = new URL(request.url)
if (request.method === "POST") {
const cacheUrl = new URL(`http://cache.key/custom${url.pathname}`)
const cacheKey = new Request(cacheUrl, baseRequest.clone())
context.waitUntil(caches.default.delete(cacheKey))
return new Response("Busted", { status: 201 })
}
const cacheUrl = new URL(`http://cache.key/custom${url.pathname}`)
const cacheKey = new Request(cacheUrl, baseRequest.clone())
const cache = caches.default
const cacheResponse = await cache.match(cacheKey)
if (cacheResponse?.ok) {
console.log("Returning from cache.")
return cacheResponse
}
const newResponse = new Response("Something")
newResponse.headers.append("Cache-Control", "s-maxage=3600") // 1 hour
context.waitUntil(cache.put(cacheKey, newResponse.clone()))
console.log("Returning Fresh")
return newResponse
}
}