u
This commit is contained in:
@@ -344,8 +344,8 @@ export async function runSandboxJob(options) {
|
||||
throw new Error('Sandbox worker pool is shutting down');
|
||||
}
|
||||
|
||||
const { poolKey, googleAuthId, code, timeoutMs, dashbackToken, appletInput, appletFile } = options;
|
||||
const job = { code, timeoutMs, dashbackToken, appletInput, appletFile, poolKey, googleAuthId };
|
||||
const { poolKey, googleAuthId, isAdmin = true, code, timeoutMs, dashbackToken, appletInput, appletFile } = options;
|
||||
const job = { code, timeoutMs, dashbackToken, appletInput, appletFile, poolKey, googleAuthId, isAdmin };
|
||||
|
||||
const entry = await acquireWorker(poolKey, googleAuthId);
|
||||
if (entry) {
|
||||
|
||||
Reference in New Issue
Block a user