Skip to content

In CPUTimer make the update method public#7809

Merged
labkey-danield merged 5 commits into
developfrom
fb_fixImportPerfWaitCheck
Jul 2, 2026
Merged

In CPUTimer make the update method public#7809
labkey-danield merged 5 commits into
developfrom
fb_fixImportPerfWaitCheck

Conversation

@labkey-danield

Copy link
Copy Markdown
Contributor

Rationale

Making the update method public in CPUTimer. Can be useful for various scenarios, like if a pef test hits a predefined max allowed time.

Related Pull Requests

Changes

  • Make update method public.

Moved code to get pipeline job duration to shared class.
Added tests for checking in, completing the job and resetting.

protected void _update(long elapsed)
/**
* Manually set the elapse time for a timer. Could be used to set the timer to a predefined "max-high" value.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Manually set the elapse time for a timer. Could be used to set the timer to a predefined "max-high" value.
* Manually set the elapsed time for a timer. Could be used to set the timer to a predefined "max-high" value.

@labkey-danield labkey-danield merged commit f2c5a2b into develop Jul 2, 2026
7 of 8 checks passed
@labkey-danield labkey-danield deleted the fb_fixImportPerfWaitCheck branch July 2, 2026 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants