fix shouldSuspendGone and shouldSuspendNotResponding not working
This commit is contained in:
parent
c80b4138f5
commit
63f2073af1
1 changed files with 2 additions and 0 deletions
|
|
@ -97,6 +97,8 @@ export class CollapsedQueueService implements OnApplicationShutdown {
|
|||
latestRequestReceivedAt: maxDate(oldJob.latestRequestReceivedAt, newJob.latestRequestReceivedAt),
|
||||
notRespondingSince: maxDate(oldJob.notRespondingSince, newJob.notRespondingSince),
|
||||
shouldUnsuspend: oldJob.shouldUnsuspend || newJob.shouldUnsuspend,
|
||||
shouldSuspendGone: oldJob.shouldSuspendGone || newJob.shouldSuspendGone,
|
||||
shouldSuspendNotResponding: oldJob.shouldSuspendNotResponding || newJob.shouldSuspendNotResponding,
|
||||
notesCountDelta: (oldJob.notesCountDelta ?? 0) + (newJob.notesCountDelta ?? 0),
|
||||
usersCountDelta: (oldJob.usersCountDelta ?? 0) + (newJob.usersCountDelta ?? 0),
|
||||
followingCountDelta: (oldJob.followingCountDelta ?? 0) + (newJob.followingCountDelta ?? 0),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue