And if you're calling out to stuff in C++ land like hashing I expect it to use multiple cores?
And if you're calling out to stuff in C++ land like hashing I expect it to use multiple cores?
On multi-processor machines, a computer program can use two or more CPUs for processing using parallel processing scheduling. In such situations, the notion of total CPU time is used, which is the sum of CPU time consumed by all of the CPUs utilized by the computer program.
workerd internally, like calculating hashes and stuff, are multicore themselves?

wrangler pages deploy .vercel/output/static

getRequestContext() and process.env is still very confusing. sometimes they work in local, sometimes they dont work in prod, so i made this utility functiongetRequestContext() and process.env should with next dev, wrangler pages dev and productiongetRequestContext())wrangler pages deploy .vercel/output/static "logs": [
{
"message": [
"Failed to Send Email:",
"[object Object]"
],
"level": "error",
"timestamp": 1712562394309
}
],getRequestContext()getRequestContext()getRequestContext()process.envprocess.envnext devimport 'server-only'
export function getEnv(): Env {
const grc = getRequestContext().env as unknown as Env;
if (grc.SECRET_KEY != null) {
return grc;
} else if (process.env.SECRET_KEY != null) {
return process.env as unknown as Env;
} else {
throw new Error("Env variables are not defined");
}
}