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

fix: Webservice healthcheck #144

Merged
merged 3 commits into from
Oct 16, 2024
Merged

fix: Webservice healthcheck #144

merged 3 commits into from
Oct 16, 2024

Conversation

adityachoudhari26
Copy link
Contributor

No description provided.


export const GET = async () => {
try {
await new IORedis(env.REDIS_URL).ping();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think we want to set max retries to null for the health check (because apparently it waits forever), so just using the default which is 20

@jsbroks jsbroks merged commit 36a3209 into main Oct 16, 2024
7 checks passed
@jsbroks jsbroks deleted the webservice-healthcheck branch October 16, 2024 21:23
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