near-api-js - v7.0.4
    Preparing search index...

    Type Alias DynamicReshardingConfigView

    Configuration for dynamic resharding feature

    type DynamicReshardingConfigView = {
        max_number_of_shards: number;
        memory_usage_threshold: number;
        min_child_memory_usage: number;
        min_epochs_between_resharding: number;
    }
    Index

    Properties

    max_number_of_shards: number

    Maximum number of shards in the network.

    See [CongestionControlConfig] for more details.

    memory_usage_threshold: number

    Memory threshold over which a shard is marked for a split.

    See [CongestionControlConfig] for more details.

    min_child_memory_usage: number

    Minimum memory usage of a child shard.

    See [CongestionControlConfig] for more details.

    min_epochs_between_resharding: number

    Minimum number of epochs until next resharding can be scheduled.

    See [CongestionControlConfig] for more details.