Use config limit instead of default (#20900)
This commit is contained in:
parent
d98c8b861c
commit
9dd87bcdb5
|
@ -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,
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue