We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d05f7a commit 9da3b71Copy full SHA for 9da3b71
src/task.js
@@ -4,7 +4,7 @@ var originApiMap = {};
4
var transferToTaskMethod = function (apiMap, apiName) {
5
originApiMap[apiName] = apiMap[apiName];
6
apiMap[apiName] = function (params, callback) {
7
- if (params.SkipTask) {
+ if (params.SkipTask || !this.options.UploadQueueSize) {
8
originApiMap[apiName].call(this, params, callback);
9
} else {
10
this._addTask(apiName, params, callback);
0 commit comments