File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export const prepareBulkRequest = async ({
3939 iexec = throwIfMissing ( ) ,
4040 bulkOrders,
4141 app,
42- maxProtectedDataPerTask,
42+ maxProtectedDataPerTask = 100 ,
4343 appMaxPrice = MAX_DESIRED_APP_ORDER_PRICE ,
4444 workerpoolMaxPrice = MAX_DESIRED_WORKERPOOL_ORDER_PRICE ,
4545 args,
@@ -57,7 +57,6 @@ export const prepareBulkRequest = async ({
5757 }
5858 const vApp = addressOrEnsSchema ( ) . required ( ) . label ( 'app' ) . validateSync ( app ) ;
5959 const vMaxProtectedDataPerTask = positiveNumberSchema ( )
60- . required ( )
6160 . label ( 'maxProtectedDataPerTask' )
6261 . validateSync ( maxProtectedDataPerTask ) ;
6362 const vAppMaxPrice = positiveNumberSchema ( )
Original file line number Diff line number Diff line change @@ -453,9 +453,11 @@ export type PrepareBulkRequestParams = {
453453 app : AddressOrENS ;
454454
455455 /**
456- * Maximum number of datasets per task
456+ * Maximum number of protected data to process per task (any protected data exceeding this number will be processed in another task)
457+ *
458+ * @default 100
457459 */
458- maxProtectedDataPerTask : number ;
460+ maxProtectedDataPerTask ? : number ;
459461
460462 /**
461463 * Maximum price willing to pay for the app order (in nRLC)
You can’t perform that action at this time.
0 commit comments