diff --git a/client/src/app/gateways/repositories/action-worker/view-action-worker.ts b/client/src/app/gateways/repositories/action-worker/view-action-worker.ts index d3db1f3bbc..6a863f8541 100644 --- a/client/src/app/gateways/repositories/action-worker/view-action-worker.ts +++ b/client/src/app/gateways/repositories/action-worker/view-action-worker.ts @@ -30,10 +30,10 @@ export class ViewActionWorker extends BaseViewModel { } /** - * Returns true, if the worker timestamp is older than 60 seconds + * Returns true, if the worker timestamp is older than 300 seconds */ public get hasPassedDeathThreshold(): boolean { - return -this.timestamp + Date.now() / 1000 > 60; + return this.timeSinceLastActivityConfirmation > 300; } /**