From 8ed1e8d2701d11d32ff30e2627be8e0954578955 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Mon, 19 Feb 2024 12:41:22 -0500 Subject: [PATCH] chore: comment --- src/publish_relay_message.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/publish_relay_message.rs b/src/publish_relay_message.rs index 55f617fe..be99d458 100644 --- a/src/publish_relay_message.rs +++ b/src/publish_relay_message.rs @@ -51,6 +51,9 @@ pub async fn publish_relay_message( Ok(_) => Ok(()), Err(e) => match e { Error::Response(rpc::Error::Handler(PublishError::MailboxLimitExceeded)) => { + // Only happens if there is no subscriber for the topic in the first place. + // So client is not expecting a response, or in the case of notify messages + // should use getNotifications to get old notifications anyway. info!("Mailbox limit exceeded for topic {}", publish.topic); Ok(()) }