opendut icon indicating copy to clipboard operation
opendut copied to clipboard

Peer online status not shown correct in LEA

Open mirenz1 opened this issue 1 year ago • 1 comments

Peer connection status is not correctly shown in LEA

image image

see also #7

mirenz1 avatar Apr 04 '24 07:04 mirenz1

The cause for this might be architectural. Currently, LEA gets the list of connected peers from the PeerMessagingBroker, whereas the list of peers comes from the PeerManager. The PeerMessagingBroker already published the states of peers into the ResourcesManager, so the PeerManager could grab this information and provide a consolidated list.

This would be a somewhat larger refactoring, though, and it's unclear whether it would actually fix anything, so it makes sense to simply debug this at first, to find out where in the whole application the state starts becoming incorrect.

mbfm avatar Apr 04 '24 08:04 mbfm

We changed the way this status is loaded (now via PeerManager.get_peer_state()), so we hope this issue is resolved. Closing for now.

See #277.

mbfm avatar Aug 21 '24 12:08 mbfm