Browse Source

bug fix for expired task notify status not update

master
filesite 7 months ago
parent
commit
46fa2ae8f4
  1. 4
      heroUnion.mjs

4
heroUnion.mjs

@ -471,6 +471,10 @@ class HeroUnion { @@ -471,6 +471,10 @@ class HeroUnion {
) {
_self.taskStatus[item.status] --;
_self.taskStatus.total --;
let notify_status = item.notified ? 'done' : 'failed';
_self.taskNotifyStatus[notify_status] --;
_self.taskNotifyStatus.total --;
common.log('Task %s is expired, which is created at %s', item.id, item.created);
}else {
accumulator.push(item);

Loading…
Cancel
Save