Avoid "Dropped RPC Notification" log spam (#25341)

This commit is contained in:
Michael Vines 2022-05-18 12:45:45 -07:00 committed by GitHub
parent 84f1e5c0da
commit edd090f4a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -664,7 +664,11 @@ impl RpcSubscriptions {
);
Self {
notification_sender: Some(notification_sender),
notification_sender: if notification_threads == 0 {
None
} else {
Some(notification_sender)
},
t_cleanup,
exit: exit.clone(),
control,