Skip to content

Commit 14ea264

Browse files
committed
Add maxJobDuration into paid compute task.
1 parent d526062 commit 14ea264

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/httpRoutes/compute.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ computeRoutes.post(`${SERVICES_API_BASE_PATH}/compute`, async (req, res) => {
7272
signature: (req.body.signature as string) || null,
7373
nonce: (req.body.nonce as string) || null,
7474
environment: (req.body.environment as string) || null,
75+
maxJobDuration: (req.body.maxJobDuration as number) || null,
7576
algorithm: (req.body.algorithm as ComputeAlgorithm) || null,
7677
datasets: (req.body.datasets as unknown as ComputeAsset[]) || null,
7778
payment: (req.body.payment as unknown as ComputePayment) || null,

0 commit comments

Comments
 (0)