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
F14040285: D11145.diff
Mon, Nov 11, 8:42 AM
F14040113: D11145.id26796.diff
Mon, Nov 11, 7:29 AM
F14024920: D11145.diff
Thu, Nov 7, 1:21 PM
F14017912: D11145.id26796.diff
Tue, Nov 5, 12:37 AM
F14010383: D11145.id26796.diff
Thu, Oct 31, 7:21 AM
F14001352: D11145.diff
Fri, Oct 25, 6:53 AM
F14000594: D11145.id26757.diff
Thu, Oct 24, 11:10 PM
F13970724: D11145.id26757.diff
Oct 17 2024, 9:33 AM
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.