Skip to content

Commit

Permalink
Updated log output
Browse files Browse the repository at this point in the history
  • Loading branch information
markqvist committed Jun 17, 2022
1 parent 5bb187a commit afe529f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion LXMF/LXMRouter.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,12 @@ def enable_propagation(self):
self.propagation_destination.register_request_handler(LXMPeer.OFFER_REQUEST_PATH, self.offer_request, allow = RNS.Destination.ALLOW_ALL)
self.propagation_destination.register_request_handler(LXMPeer.MESSAGE_GET_PATH, self.message_get_request, allow = RNS.Destination.ALLOW_ALL)

RNS.log("LXMF Propagation Node message store size is "+RNS.prettysize(self.message_storage_size()), RNS.LOG_DEBUG)
if self.message_storage_limit != None:
limit_str = ", limit is "+RNS.prettysize(self.message_storage_limit)
else:
limit_str = ""

RNS.log("LXMF Propagation Node message store size is "+RNS.prettysize(self.message_storage_size())+limit_str, RNS.LOG_DEBUG)

self.announce_propagation_node()

Expand Down

0 comments on commit afe529f

Please sign in to comment.