Skip to content

Commit c1826a4

Browse files
committed
Network retry count issue resolve
1 parent 3a71672 commit c1826a4

File tree

4 files changed

+1463
-1456
lines changed

4 files changed

+1463
-1456
lines changed

.npmignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,9 @@ typings
1515
webpack/
1616
tsconfig.json
1717
.jsdoc.json
18-
jsdocs/
18+
jsdocs/
19+
docdash-template/
20+
.env
21+
.babelrc
22+
.babel-preset.js
23+
.eslintrc.js

lib/core/contentstack-retry.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default function contentstckRetry (axios, defaultOptions, retryLimit = 5,
99
})
1010

1111
axios.interceptors.response.use(function (response) {
12+
networkError = 0
1213
return response
1314
}, function (error) {
1415
var wait = retryDelay

0 commit comments

Comments
 (0)