Skip to main content
The Deno 2 Release Candidate is here
Learn more
Extremely Popular
Go to Latest
function calculateMaxShards
Re-export
import { calculateMaxShards } from "https://deno.land/x/discordeno@13.0.0-rc45/template/bigbot/deps.ts";

Handler used to determine max number of shards to use based upon the max concurrency.

Parameters

maxShards: number
maxConcurrency: number

Returns

number