Page MenuHomePhabricator

Minor improvements for handling of `/status/` for Aphlict
ClosedPublic

Authored by joshuaspence on Jan 2 2015, 1:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 21, 3:28 AM
Unknown Object (File)
Thu, May 8, 5:37 AM
Unknown Object (File)
Apr 26 2025, 5:14 PM
Unknown Object (File)
Apr 24 2025, 2:47 PM
Unknown Object (File)
Apr 10 2025, 6:35 PM
Unknown Object (File)
Apr 7 2025, 6:17 AM
Unknown Object (File)
Apr 6 2025, 6:34 PM
Unknown Object (File)
Apr 4 2025, 9:26 PM
Subscribers

Details

Summary

We don't need to handle any request data for the /status/ route, so we can simplify this code slightly.

Test Plan
> curl http://127.0.0.1:22281/status/
{"uptime":2543,"clients.active":0,"clients.total":0,"messages.in":0,"messages.out":0,"log":"/var/log/aphlict.log","version":6}

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Minor improvements for handling of `/status/` for Aphlict.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Jan 2 2015, 4:45 PM
This revision was automatically updated to reflect the committed changes.