Commit 06c6774a authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch '247046-config-batchmax-apollo' into 'master'

Allow batchMax configuration

See merge request gitlab-org/gitlab!42700
parents 20bb3fd8 a87f8d46
......@@ -31,6 +31,7 @@ export default (resolvers = {}, config = {}) => {
// We set to `same-origin` which is default value in modern browsers.
// See https://github.com/whatwg/fetch/pull/585 for more information.
credentials: 'same-origin',
batchMax: config.batchMax || 10,
};
const uploadsLink = ApolloLink.split(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment