Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
multi: unify channel info request and expose flap count
When we list channels, we get lifetime, uptime and now flap count from the channel event store. This call unifies the values that external callers will want (rather than splitting out a third request type just for flaps) and exposes flap count over rpc. We hardcode calculating uptime for the channel's whole life because the listChannels endpoint doesn't start start/end params. Since we plan on adding a separate uptime endpoint once we have persisted uptime, it's ok to remove these parameters.
- Loading branch information
Showing
6 changed files
with
860 additions
and
950 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.