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

Feat/be/refactor request pagespeed, resolves #1085 #1086

Merged

Conversation

ajhollid
Copy link
Collaborator

This PR refactors the requestPagespeed method of the NetworkService class.

The method was identical to requestHttp except for request URL, so it duplicated most of requestHttp's code.

  • Refactor requestPagespeed to call requestHttp with an updated job. If requestPagespeed's functionality ever changes the method is still there and can be refactored again if needed.

  • Add safety checks to hardware monitor value access

@ajhollid ajhollid merged commit 29c83f5 into feat/be/hardware-monitor-type Oct 30, 2024
1 check passed
@ajhollid ajhollid deleted the feat/be/refactor-requestPagespeed branch November 11, 2024 03:01
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