Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uptime manager small refactor #3346

Merged
merged 8 commits into from
Sep 23, 2024

Conversation

ceyonur
Copy link
Contributor

@ceyonur ceyonur commented Aug 29, 2024

Why this should be merged

Refactors the uptime manager so we can use it to implement pausable uptime manager (draft PR here )

How this works

  • Reduces the shared code in the uptime manager
  • Adds StartedTracking bool to return the tracking status
  • Return errs in StartTracking/StopTracking for already started/not started cases

How this was tested

Existing UTs should cover

@ceyonur ceyonur changed the title small refactor uptime manager small refactor Sep 9, 2024
@ceyonur ceyonur marked this pull request as ready for review September 16, 2024 22:03
@ceyonur ceyonur merged commit 0daacc6 into remove-subnetid-uptime-manager Sep 23, 2024
18 of 19 checks passed
@ceyonur ceyonur deleted the refactor-uptime-manager branch September 23, 2024 11:07
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.

1 participant