Skip to content

Commit 8c53fa3

Browse files
authored
fix(dax): size Cloudflare sandboxes and use the builder image (#486)
1 parent 22cc260 commit 8c53fa3

3 files changed

Lines changed: 19 additions & 18 deletions

File tree

‎benchmarks/sandbox/dax.bench.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ const DAX_RESOURCE_OPTIONS: Record<string, Record<string, any>> = {
138138
],
139139
},
140140
beam: { cpu: 8, memory: 16384 }, // cpu = cores, memory = MiB
141+
cloudflare: { vcpu: 8, memoryMib: 16384, diskMb: 20000, image: 'builder' },
141142
codesandbox: { vmTier: VMTier.Small }, // Small = 8 CPU, 16 GiB
142143
northflank: { deploymentPlan: process.env.NORTHFLANK_DEPLOYMENT_PLAN || 'nf-compute-50', ephemeralStorageSize: 5120 }, // 5 GiB ephemeral storage
143144
declaw: { templateId: 'node-large' }, // node-large template: 8 vCPU / 16 GiB RAM / 8 GiB disk
@@ -402,4 +403,4 @@ export const task = defineTask<ProviderConfig>(async (ctx) => {
402403
},
403404
});
404405
return { data, steps, latencyMs: timing.totalMs };
405-
});
406+
});

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
"@computesdk/browseruse": "^0.2.13",
170170
"@computesdk/buddy": "^1.0.6",
171171
"@computesdk/cloud-run": "^0.1.12",
172-
"@computesdk/cloudflare": "^2.0.1",
172+
"@computesdk/cloudflare": "^2.1.0",
173173
"@computesdk/codesandbox": "^1.5.56",
174174
"@computesdk/collimate": "^0.1.6",
175175
"@computesdk/createos-sandbox": "^0.1.12",

‎pnpm-lock.yaml‎

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)