We should probably make tailing available too for WfP sub though, will chat with the PM on Monday.
We should probably make tailing available too for WfP sub though, will chat with the PM on Monday.
https://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/workers/dispatch/namespaces/${DISPATCH_NAMESPACE}/scripts/${WORKER_NAME}/content; This API created a worker and encountered a problem {outbound.parameters property is setrequest.cf? It should be present if you pass it incpuTime and wallTimehttps://api.cloudflare.com/client/v4/accounts/${CLOUDFLARE_ACCOUNT_ID}/workers/dispatch/namespaces/${DISPATCH_NAMESPACE}/scripts/${WORKER_NAME}/contentoutbound.parametersrequest.cfconst cpuLimit = 200;
const worker = c.env.appServiceDispatcher.get(
c.var.serviceUuid,
{},
{
limits: {
cpuMs: cpuLimit,
},
}
);
const startTime = performance.now();
const response = await worker.fetch(request);
const endTime = performance.now();
const duration = Math.min(Math.floor(endTime - startTime), cpuLimit);cpuTimewallTimelet userWorker = env.dispatcher.get(workerName);
return await userWorker.fetch(request);