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 ping/pong to get faster out of office #146

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Add ping/pong to get faster out of office #146

merged 1 commit into from
Jan 3, 2024

Conversation

rwood-97
Copy link
Contributor

@rwood-97 rwood-97 commented Jan 3, 2024

This PR adds a ping method to the ApiBot with a quick response of just "pong" and short timeout (5 seconds). The connection timeout error can then be raised quicker and the OOO response can be sent.

Fixes #145

@rchan26
Copy link
Collaborator

rchan26 commented Jan 3, 2024

thanks a lot @rwood-97 - works really well and lot quicker 🚀

@rchan26 rchan26 merged commit 27ed984 into main Jan 3, 2024
1 check passed
@rchan26 rchan26 deleted the ping-pong-api branch January 3, 2024 16:09
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.

Add ping/pong for finding if the VM is on (i.e. if Reginald is OOO)
2 participants