opendut
opendut copied to clipboard
store_peer_descriptor() conflicts when persistence is enabled
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.