Avoid "Dropped RPC Notification" log spam (#25341)
This commit is contained in:
parent
84f1e5c0da
commit
edd090f4a7
|
@ -664,7 +664,11 @@ impl RpcSubscriptions {
|
||||||
);
|
);
|
||||||
|
|
||||||
Self {
|
Self {
|
||||||
notification_sender: Some(notification_sender),
|
notification_sender: if notification_threads == 0 {
|
||||||
|
None
|
||||||
|
} else {
|
||||||
|
Some(notification_sender)
|
||||||
|
},
|
||||||
t_cleanup,
|
t_cleanup,
|
||||||
exit: exit.clone(),
|
exit: exit.clone(),
|
||||||
control,
|
control,
|
||||||
|
|
Loading…
Reference in New Issue