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

add PingCheck #28

Merged
merged 2 commits into from
Sep 22, 2023
Merged

add PingCheck #28

merged 2 commits into from
Sep 22, 2023

Conversation

david-d-h
Copy link
Contributor

This PR adds the PingCheck, it can be used to check if your application can reach other hosts. It can be configured like this

OK::checks([
    PingCheck::config()
        ->address('www.google.com')
        ->maxTimeout(100), // milliseconds
]);

If they are not set, address and the max timeout will be set to www.google.com and 100 by default respectively.

@david-d-h david-d-h self-assigned this Sep 22, 2023
@david-d-h david-d-h added the enhancement New feature or request label Sep 22, 2023
@markvaneijk
Copy link
Member

Lekker bezig @dulkoss!

@markvaneijk markvaneijk merged commit 92e176d into main Sep 22, 2023
@markvaneijk markvaneijk deleted the feature/ping-check branch September 22, 2023 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants