Avoid "Dropped RPC Notification" log spam (#25341)
This commit is contained in:
parent
84f1e5c0da
commit
edd090f4a7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue