mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-09 21:29:06 -05:00
refactor: switch new connections to debug log
These are pretty spammy on busy relays. I've been using the info log to monitor spam attacks, and these are the least useful info log. Leave the "stopping connection" log because it at least provides useful sent/received information. Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
14b5a51e3a
commit
311f4b5283
|
@ -428,7 +428,7 @@ async fn nostr_server(
|
|||
// and how many it received from queries.
|
||||
let mut client_published_event_count: usize = 0;
|
||||
let mut client_received_event_count: usize = 0;
|
||||
info!("new connection for client: {:?}, ip: {:?}", cid, conn.ip());
|
||||
debug!("new connection for client: {:?}, ip: {:?}", cid, conn.ip());
|
||||
loop {
|
||||
tokio::select! {
|
||||
_ = shutdown.recv() => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user