]> git.ozlabs.org Git - petitboot/commitdiff
discover: Maintain a backlog of status updates
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Wed, 14 Dec 2016 03:44:23 +0000 (14:44 +1100)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Tue, 20 Dec 2016 05:40:22 +0000 (16:40 +1100)
Add status updates to a persistent list in the discover_server struct,
and send each client the backlog on connect. This avoids clients missing
useful messages from early init. Clients will only show this in the
backlog screen to avoid flooding the client's status line.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>

No differences found