We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9cf753 commit d6c305dCopy full SHA for d6c305d
src/resumable.js
@@ -96,8 +96,8 @@ function Resumable(opts) {
96
target: '/',
97
testChunks: true,
98
generateUniqueIdentifier: null,
99
- maxChunkRetries: undefined,
100
- chunkRetryInterval: undefined,
+ maxChunkRetries: 0,
+ chunkRetryInterval: null,
101
permanentErrors: [404, 415, 500, 501]
102
};
103
@@ -992,7 +992,7 @@ function Resumable(opts) {
992
$.abort();
993
$.retries++;
994
var retryInterval = $.resumableObj.opts.chunkRetryInterval;
995
- if (retryInterval !== undefined) {
+ if (retryInterval !== null) {
996
setTimeout($.send, retryInterval);
997
} else {
998
$.send();
0 commit comments