@lacunahub/letsfrag
    Preparing search index...

    Interface ClusterBrokerOptions

    Configuration options for ClusterBroker

    interface ClusterBrokerOptions {
        botToken: string;
        healthcheckInterval?: number;
        redisURI: string;
        shardCount?: number;
        shardCountCalc?: ClusterBrokerOptionsShardCountCalc;
        shardsRebalancingCron?: string;
    }
    Index

    Properties

    botToken: string

    Discord bot token for API calls

    healthcheckInterval?: number

    Health check interval in ms (default: 30000)

    redisURI: string

    Redis connection URI

    shardCount?: number

    Fixed shard count (auto-calculated if not provided)

    Shard count calculation options

    shardsRebalancingCron?: string

    Cron expression for shard rebalancing (default: every 30 min)