Homec4science

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

Authored by Joshua Spence <josh@joshuaspence.com> on Jan 2 2015, 23:10.

Description

Minor improvements for handling of /status/ for Aphlict

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}

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D11145

Details

Committed
Joshua Spence <josh@joshuaspence.com>Jan 2 2015, 23:10
Pushed
aubortJan 31 2017, 17:16
Parents
rPH44198d68a769: Use the correct `Content-Type` for the Aphlict status route
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@joshuaspence.com> committed rPH9f31e023f425: Minor improvements for handling of `/status/` for Aphlict (authored by Joshua Spence <josh@joshuaspence.com>).Jan 2 2015, 23:10