opendut icon indicating copy to clipboard operation
opendut copied to clipboard

store_peer_descriptor() conflicts when persistence is enabled

Open mbfm opened this issue 1 year ago • 0 comments

Currently, when creating a new peer with devices defined, the actions::store_peer_descriptor() function will crash, because we insert a device before the peer is defined.

This is indicative of a larger problem, that devices are currently duplicated in in-memory storage.

Possible solution: Remove devices as a separate Resource.

mbfm avatar Aug 22 '24 14:08 mbfm