Skip to content

Commit

Permalink
Use configured status reporting delay
Browse files Browse the repository at this point in the history
  • Loading branch information
cristian-recoseanu committed Dec 16, 2024
1 parent 33bcd97 commit e6ea611
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/src/NCModel/Features.ts
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ export class NcReceiverMonitor extends NcStatusMonitor
this.notificationContext.NotifyPropertyChanged(this.oid, new NcElementId(4, 9), NcPropertyChangeType.ValueChanged, this.streamStatus, null);
this.notificationContext.NotifyPropertyChanged(this.oid, new NcElementId(4, 10), NcPropertyChangeType.ValueChanged, this.streamStatusMessage, null);

DelayTask(5000).then(() => this.StreamBroken());
DelayTask(1000 * this.statusReportingDelay).then(() => this.StreamBroken());
}

public StreamBroken()
Expand All @@ -661,7 +661,7 @@ export class NcReceiverMonitor extends NcStatusMonitor
this.notificationContext.NotifyPropertyChanged(this.oid, new NcElementId(4, 9), NcPropertyChangeType.ValueChanged, this.streamStatus, null);
this.notificationContext.NotifyPropertyChanged(this.oid, new NcElementId(4, 10), NcPropertyChangeType.ValueChanged, this.streamStatusMessage, null);

DelayTask(2000).then(() => this.StreamFixed());
DelayTask(1000 * this.statusReportingDelay).then(() => this.StreamFixed());
}
}

Expand Down

0 comments on commit e6ea611

Please sign in to comment.