hellfire 0.19.7 → 0.19.8

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 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.8](http://10.16.100.57/diffusion/115/paladin/compare/v0.19.7...v0.19.8) (2022-03-07)
6
+
7
+
8
+
5
9
  ## [0.19.7](http://10.16.100.57/diffusion/115/paladin/compare/v0.19.6...v0.19.7) (2022-03-03)
6
10
 
7
11
 
package/dist/index.js CHANGED
@@ -11126,11 +11126,6 @@ function addTaskIntoPool(task) {
11126
11126
 
11127
11127
  var priority = task.priority || task.priority === 0 || 1;
11128
11128
 
11129
- if (cache && cache.executed) {
11130
- delete cachedTask[task.key];
11131
- cache = null;
11132
- }
11133
-
11134
11129
  if (cache) {
11135
11130
  cache.priority = priority;
11136
11131
  var callbacks = cache.callbacks || [];
@@ -11186,7 +11181,7 @@ function executeTask() {
11186
11181
  res: res
11187
11182
  });
11188
11183
  });
11189
- task.executed = true;
11184
+ delete cachedTask[task.key];
11190
11185
  executeTask();
11191
11186
  }, function (err) {
11192
11187
  // 请求失败 重试机制