Skip to content

Commit

Permalink
Tweak "reportIfTooLong" comment to match implementation (#13413)
Browse files Browse the repository at this point in the history
In #13305, `reportIfTooLong` implementation was tweaked to bring down
the threshold from 1s to 200ms. However, the JSDOC comment was never
updated.

I happened to stumble across this; going ahead and submitting this
JSDOC-only change.
  • Loading branch information
Zlatkovsky authored Jan 17, 2023
1 parent 10cf962 commit 87c8a87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/loader/container-loader/src/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ const getCodeProposal =
(quorum: IQuorumProposals) => quorum.get("code") ?? quorum.get("code2");

/**
* Helper function to report to telemetry cases where operation takes longer than expected (1s)
* Helper function to report to telemetry cases where operation takes longer than expected (200ms)
* @param logger - logger to use
* @param eventName - event name
* @param action - functor to call and measure
Expand Down

0 comments on commit 87c8a87

Please sign in to comment.