Commit a87f8d46 authored by Denys Mishunov's avatar Denys Mishunov

Allow batMax config

BY allowing batchMax on a per-client basis we can allow
different clients behave differently based on the requirements
parent 1a094176
......@@ -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