mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-22 09:09:07 -05:00
improvement: log client id for subscription removal
This commit is contained in:
parent
e6fef37d4e
commit
01d81db617
|
@ -95,8 +95,9 @@ impl ClientConn {
|
||||||
// TODO: return notice if subscription did not exist.
|
// TODO: return notice if subscription did not exist.
|
||||||
self.subscriptions.remove(&c.id);
|
self.subscriptions.remove(&c.id);
|
||||||
debug!(
|
debug!(
|
||||||
"removed subscription, currently have {} active subs",
|
"removed subscription, currently have {} active subs (cid={})",
|
||||||
self.subscriptions.len()
|
self.subscriptions.len(),
|
||||||
|
self.client_id
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user