fix(connection-manager): set default maxConnections to 10000 if not specified
This commit is contained in:
@ -34,7 +34,7 @@ export class ConnectionManager extends LifecycleComponent {
|
||||
super();
|
||||
|
||||
// Set reasonable defaults for connection limits
|
||||
this.maxConnections = settings.defaults.security.maxConnections
|
||||
this.maxConnections = settings.defaults?.security?.maxConnections || 10000;
|
||||
|
||||
// Start inactivity check timer if not disabled
|
||||
if (!settings.disableInactivityCheck) {
|
||||
|
Reference in New Issue
Block a user