Skip to content

Commit

Permalink
chore: logging
Browse files Browse the repository at this point in the history
  • Loading branch information
nytamin committed Oct 12, 2023
1 parent a01aeea commit 7d546d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/package-manager/packages/generic/src/packageManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ export class PackageManagerHandler {
this._triggerUpdatedExpectedPackagesTimeout = setTimeout(() => {
this._triggerUpdatedExpectedPackagesTimeout = null

const startTime = Date.now()

const packageContainers: PackageContainers = {}
const expectedPackageSources: {
sourceName: string
Expand Down Expand Up @@ -273,6 +275,8 @@ export class PackageManagerHandler {
}

this.handleExpectedPackages(packageContainers, activePlaylist, activeRundowns, expectedPackageSources)

this.logger.debug(`Took ${Date.now() - startTime}ms to handle updated expectedPackages`)
}, 300)
}

Expand Down

0 comments on commit 7d546d9

Please sign in to comment.