File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 3
3
.DS_Store
4
4
Thumbs.db
5
5
* .log
6
- node_modules /
6
+ node_modules /
7
+ dist /
Original file line number Diff line number Diff line change 16
16
" CONTRIBUTIONS.md" ,
17
17
" README.md" ,
18
18
" docs/**/*" ,
19
- " example/**/*" ,
20
- " dist/**/*"
19
+ " example/**/*"
21
20
],
22
21
"message" : " chore(release): ${nextRelease.version} [skip ci]\n\n ${nextRelease.notes}"
23
22
}],
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ export class Fanos {
134
134
135
135
const maxDelay = this . config . maxRetryDelay || 300000
136
136
const delay = Math . min (
137
- this . config . retryInterval * 2 ** ( attempt - 1 ) ,
137
+ this . config . retryInterval * 2 ** ( attempt - 1 ) * ( 1 + Math . random ( ) * 0.2 ) ,
138
138
maxDelay ,
139
139
)
140
140
@@ -181,7 +181,8 @@ export class Fanos {
181
181
}
182
182
} catch ( error ) {
183
183
debugLog ( this . config . debug , 'Error loading queue:' , error )
184
- this . queue . clear ( )
184
+ this . queue . clear ( ) ;
185
+ localStorage . removeItem ( this . config . storeKey ) ;
185
186
}
186
187
}
187
188
You can’t perform that action at this time.
0 commit comments