Skip to content
代码片段 群组 项目
提交 06c6774a 编辑于 作者: Natalia Tepluhina's avatar Natalia Tepluhina
浏览文件

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

Allow batchMax configuration

See merge request gitlab-org/gitlab!42700
No related branches found
No related tags found
无相关合并请求
......@@ -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(
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册