-
Notifications
You must be signed in to change notification settings - Fork 62
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 a new 'ping' endpoint #112
Conversation
6844cd4
to
d363411
Compare
@mwarkentin @felixc Opened this PR. |
d363411
to
b7688a0
Compare
b7688a0
to
76efe58
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One tiny comment, otherwise looks great!
watchman/views.py
Outdated
@@ -69,6 +69,13 @@ def status(request): | |||
return response, http_code, {WATCHMAN_VERSION_HEADER: __version__} | |||
|
|||
|
|||
@non_atomic_requests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a django db transaction setting, probably not needed here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, yeah, not needed here. Updated to remove.
The endpoint simply returns the text 'pong' without running all of the checks.
76efe58
to
3847a89
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
The endpoint simply returns the text 'pong' without running all of the checks.