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 Cache Status #30

Merged
merged 7 commits into from
Dec 17, 2021
Merged

Add Cache Status #30

merged 7 commits into from
Dec 17, 2021

Conversation

ahinkle
Copy link
Contributor

@ahinkle ahinkle commented Dec 17, 2021

This PR adds a check for the status of the application cache. This check makes sure the application can connect to your cache system and read/write to the cache keys.

Health::checks([
    CacheCheck::new(), // uses the default connection.
    CacheCheck::new()->driver('another-cache-driver'),
]);

@ahinkle
Copy link
Contributor Author

ahinkle commented Dec 17, 2021

The failing test is the HTTP ping - not sure what's happening there. 🙂

@freekmurze freekmurze merged commit 8ea39bf into spatie:main Dec 17, 2021
@freekmurze
Copy link
Member

Very nice, thanks! I'll take care of that failing test.

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