diff --git a/heroUnion.mjs b/heroUnion.mjs index 58af7d9..293c56a 100644 --- a/heroUnion.mjs +++ b/heroUnion.mjs @@ -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);