Merge branch '15020-collection-with-the-same-content-adress'
[arvados-workbench2.git] / src / store / processes / processes-actions.ts
index 65a9a24c884cf4e6fd0fbf7996582c5cc3e05694..6f1d23b0b2e9258538e9d4680f81805c26589adf 100644 (file)
@@ -53,9 +53,11 @@ export const loadSubprocesses = (containerUuid: string) =>
         }
     };
 
+const MAX_AMOUNT_OF_SUBPROCESSES = 10000;
+
 export const loadContainerRequests = (filters: string) =>
     async (dispatch: Dispatch, getState: () => RootState, services: ServiceRepository) => {
-        const { items } = await services.containerRequestService.list({ filters });
+        const { items } = await services.containerRequestService.list({ filters, limit: MAX_AMOUNT_OF_SUBPROCESSES });
         dispatch<any>(updateResources(items));
         return items;
     };