From a05393d01b77d6e87cdb37f4f71344fbdc900ffc Mon Sep 17 00:00:00 2001 From: MagicTheDev <82341152+MagicTheDev@users.noreply.github.com> Date: Tue, 1 Oct 2024 09:49:53 -0500 Subject: [PATCH] Update startup.py --- utility/startup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utility/startup.py b/utility/startup.py index 540e7c1c..2b974543 100644 --- a/utility/startup.py +++ b/utility/startup.py @@ -88,7 +88,7 @@ def calculate_shard_distribution(total_shards, total_clusters): cluster_kwargs = { 'shard_ids': shard_ids, - 'shard_count': TOTAL_SHARDS, + 'shard_count': len(shard_ids), } return cluster_kwargs