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
F18703979: D11145.id.diff
Sun, Sep 28, 5:47 AM
F18701394: D11145.diff
Sat, Sep 27, 6:52 PM
F18627150: D11145.id26796.diff
Tue, Sep 16, 3:19 AM
F18621628: D11145.diff
Mon, Sep 15, 9:00 AM
F18616627: D11145.id26757.diff
Sun, Sep 14, 6:22 PM
F18606782: D11145.id26796.diff
Sat, Sep 13, 10:35 PM
F18604215: D11145.id.diff
Sat, Sep 13, 6:17 PM
F18596078: D11145.id26757.diff
Fri, Sep 12, 11:38 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.