Use config limit instead of default (#20900)
This commit is contained in:
@ -499,7 +499,7 @@ impl RpcSubscriptions {
|
|||||||
.unwrap();
|
.unwrap();
|
||||||
|
|
||||||
let control = SubscriptionControl::new(
|
let control = SubscriptionControl::new(
|
||||||
PubSubConfig::default().max_active_subscriptions,
|
config.max_active_subscriptions,
|
||||||
notification_sender.clone(),
|
notification_sender.clone(),
|
||||||
broadcast_sender,
|
broadcast_sender,
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user