Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Extends batch time

dominik-zeglenfb9831f092dc
diff --git a/saleor/static/dashboard-next/index.tsx b/saleor/static/dashboard-next/index.tsx
index de995a8be1..e8f8b09932 100644
--- a/saleor/static/dashboard-next/index.tsx
+++ b/saleor/static/dashboard-next/index.tsx
@@ -78,7 +78,10 @@ const linkOptions = {
uri: API_URI
};
const uploadLink = createUploadLink(linkOptions);
-const batchLink = new BatchHttpLink(linkOptions);
+const batchLink = new BatchHttpLink({
+ batchInterval: 100,
+ ...linkOptions
+});
const link = ApolloLink.split(
operation => operation.getContext().useBatching,