hellfire 0.19.3 → 0.19.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.19.4](http://10.16.100.57/diffusion/115/paladin/compare/v0.19.3...v0.19.4) (2022-02-23)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [0.19.3](http://10.16.100.57/diffusion/115/paladin/compare/v0.19.2...v0.19.3) (2022-02-23)
|
|
6
10
|
|
|
7
11
|
|
package/dist/index.js
CHANGED
|
@@ -10531,6 +10531,11 @@ function addTaskIntoPool(task) {
|
|
|
10531
10531
|
|
|
10532
10532
|
var priority = task.priority || task.priority === 0 || 1;
|
|
10533
10533
|
|
|
10534
|
+
if (cache && cache.executed) {
|
|
10535
|
+
delete cachedTask[task.key];
|
|
10536
|
+
cache = null;
|
|
10537
|
+
}
|
|
10538
|
+
|
|
10534
10539
|
if (cache) {
|
|
10535
10540
|
cache.priority = priority;
|
|
10536
10541
|
var callbacks = cache.callbacks || [];
|
|
@@ -10586,6 +10591,7 @@ function executeTask() {
|
|
|
10586
10591
|
res: res
|
|
10587
10592
|
});
|
|
10588
10593
|
});
|
|
10594
|
+
task.executed = true;
|
|
10589
10595
|
executeTask();
|
|
10590
10596
|
}, function (err) {
|
|
10591
10597
|
// 请求失败 重试机制
|