Skip to main content
Go to Latest
function calculateMaxShards
Re-export
import { calculateMaxShards } from "https://deno.land/x/discordeno@13.0.0-rc45/template/minimal/deps.ts";

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

Parameters

maxShards: number
maxConcurrency: number

Returns

number