nostr-rs-relay

My dev fork of nostr-rs-relay
git clone git://jb55.com/nostr-rs-relay
Log | Files | Refs | README | LICENSE

commit 01d81db617f0122502c397bdb59dc0783735ff22
parent e6fef37d4e4eab72a7cdf5d741c6d290b3906bd6
Author: Greg Heartsfield <scsibug@imap.cc>
Date:   Sun, 21 Aug 2022 09:11:38 -0700

improvement: log client id for subscription removal

Diffstat:
Msrc/conn.rs | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/conn.rs b/src/conn.rs @@ -95,8 +95,9 @@ impl ClientConn { // TODO: return notice if subscription did not exist. self.subscriptions.remove(&c.id); debug!( - "removed subscription, currently have {} active subs", - self.subscriptions.len() + "removed subscription, currently have {} active subs (cid={})", + self.subscriptions.len(), + self.client_id ); } }