autoScale property

bool autoScale
final

Whether to automatically restart processes when they grow beyond a certain threshold with updated shard and process counts.

This setting requires the child processes to add IShardingPlugin to their respective clients.

This setting can cause downtime while the processes restart, so it is disabled by default.

Implementation

final bool autoScale;