Use config limit instead of default (#20900)

This commit is contained in:
Tyera Eulberg 2021-10-23 01:04:15 -06:00 committed by GitHub
parent d98c8b861c
commit 9dd87bcdb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -499,7 +499,7 @@ impl RpcSubscriptions {
.unwrap();
let control = SubscriptionControl::new(
PubSubConfig::default().max_active_subscriptions,
config.max_active_subscriptions,
notification_sender.clone(),
broadcast_sender,
);